whistler-mcp 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whistler-mcp",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "An MCP Server for retrieving placement data, job roles, and platform statistics from the Whistler API.",
5
5
  "main": "server.js",
6
6
  "bin": {
package/server.js CHANGED
@@ -109,7 +109,7 @@ const toolsDefinition = {
109
109
 
110
110
  // Read PDF
111
111
  view_job_pdf: {
112
- description: "Read the specific textual content of a company's job role PDF. This will consume 1 from the user's daily PDF view limit. Ensure you pass the exact `pdfUrl` obtained from `get_company_roles`.",
112
+ description: "Extract and read the textual content of a company's job role PDF. (Consumes 1 daily view).",
113
113
  schema: z.object({ pdfUrl: z.string() }),
114
114
  inputSchema: { type: "object", properties: { pdfUrl: { type: "string" } }, required: ["pdfUrl"] }
115
115
  }
@@ -169,7 +169,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
169
169
  if (!loginData.token) throw new Error('Login succeeded but no token was returned.');
170
170
 
171
171
  saveToken(loginData.token, loginData);
172
- result = { success: true, message: `Successfully authenticated! Token saved securely.` };
172
+ result = { success: true, message: `Authenticated!` };
173
173
  break;
174
174
  }
175
175
  case 'signup_to_whistler': {
@@ -191,12 +191,12 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
191
191
  if (!signupData.token) throw new Error('Signup succeeded but no token was returned.');
192
192
 
193
193
  saveToken(signupData.token, signupData);
194
- result = { success: true, message: `Account created and authenticated successfully! Welcome to Whistler.` };
194
+ result = { success: true, message: `Account created!` };
195
195
  break;
196
196
  }
197
197
  case 'logout_whistler':
198
198
  clearToken();
199
- result = { success: true, message: 'Logged out successfully. Token cleared.' };
199
+ result = { success: true, message: 'Logged out.' };
200
200
  break;
201
201
  case 'get_companies':
202
202
  result = await invokeApi(`/pdfs/companies${params.year ? '?year='+params.year : ''}`);
@@ -243,7 +243,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
243
243
  success: true,
244
244
  text: pdfData.text,
245
245
  pages: pdfData.numpages,
246
- message: "PDF successfully read and your daily limit has been updated."
246
+ message: "PDF read successfully."
247
247
  };
248
248
  break;
249
249
  }