Skip to content

Commit 2c9cacc

Browse files
Increase limits according to documentation
1 parent f3185a9 commit 2c9cacc

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "linkedapi-mcp",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"description": "MCP server for Linked API",
55
"main": "dist/index.js",
66
"bin": {

src/tools/nv-search-companies.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class NvSearchCompaniesTool extends OperationTool<TNvSearchCompaniesParam
99
public override readonly operationName = OPERATION_NAME.nvSearchCompanies;
1010
protected override readonly schema = z.object({
1111
term: z.string().optional(),
12-
limit: z.number().min(1).max(100).optional(),
12+
limit: z.number().min(1).max(1000).optional(),
1313
filter: z
1414
.object({
1515
locations: z.array(z.string()).optional(),
@@ -53,7 +53,7 @@ export class NvSearchCompaniesTool extends OperationTool<TNvSearchCompaniesParam
5353
limit: {
5454
type: 'number',
5555
description:
56-
'Optional. Number of search results to return. Defaults to 10, with a maximum value of 100.',
56+
'Optional. Number of search results to return. Defaults to 25, with a maximum value of 1000.',
5757
},
5858
filter: {
5959
type: 'object',

src/tools/nv-search-people.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class NvSearchPeopleTool extends OperationTool<TNvSearchPeopleParams, unk
99
public override readonly operationName = OPERATION_NAME.nvSearchPeople;
1010
protected override readonly schema = z.object({
1111
term: z.string().optional(),
12-
limit: z.number().min(1).max(100).optional(),
12+
limit: z.number().min(1).max(2500).optional(),
1313
filter: z
1414
.object({
1515
firstName: z.string().optional(),
@@ -40,7 +40,7 @@ export class NvSearchPeopleTool extends OperationTool<TNvSearchPeopleParams, unk
4040
limit: {
4141
type: 'number',
4242
description:
43-
'Optional. Number of search results to return. Defaults to 10, with a maximum value of 100.',
43+
'Optional. Number of search results to return. Defaults to 25, with a maximum value of 2500.',
4444
},
4545
filter: {
4646
type: 'object',

src/tools/retrieve-connections.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class RetrieveConnectionsTool extends OperationTool<
1515
public override readonly name = 'retrieve_connections';
1616
public override readonly operationName = OPERATION_NAME.retrieveConnections;
1717
protected override readonly schema = z.object({
18-
limit: z.number().min(1).max(500).optional(),
18+
limit: z.number().min(1).max(1000).optional(),
1919
filter: z
2020
.object({
2121
firstName: z.string().optional(),
@@ -41,7 +41,7 @@ export class RetrieveConnectionsTool extends OperationTool<
4141
limit: {
4242
type: 'number',
4343
description:
44-
'Optional. Number of connections to return. Defaults to 10, with a maximum value of 500.',
44+
'Optional. Number of connections to return. Defaults to 10, with a maximum value of 1000.',
4545
},
4646
filter: {
4747
type: 'object',

src/tools/search-companies.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class SearchCompaniesTool extends OperationTool<TSearchCompaniesParams, u
99
public override readonly operationName = OPERATION_NAME.searchCompanies;
1010
protected override readonly schema = z.object({
1111
term: z.string().optional(),
12-
limit: z.number().min(1).max(100).optional(),
12+
limit: z.number().min(1).max(1000).optional(),
1313
filter: z
1414
.object({
1515
locations: z.array(z.string()).optional(),
@@ -47,7 +47,7 @@ export class SearchCompaniesTool extends OperationTool<TSearchCompaniesParams, u
4747
limit: {
4848
type: 'number',
4949
description:
50-
'Optional. Number of search results to return. Defaults to 10, with a maximum value of 100.',
50+
'Optional. Number of search results to return. Defaults to 10, with a maximum value of 1000.',
5151
},
5252
filter: {
5353
type: 'object',

src/tools/search-people.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class SearchPeopleTool extends OperationTool<TSearchPeopleParams, unknown
99
public override readonly operationName = OPERATION_NAME.searchPeople;
1010
protected override readonly schema = z.object({
1111
term: z.string().optional(),
12-
limit: z.number().min(1).max(100).optional(),
12+
limit: z.number().min(1).max(1000).optional(),
1313
filter: z
1414
.object({
1515
firstName: z.string().optional(),
@@ -39,7 +39,7 @@ export class SearchPeopleTool extends OperationTool<TSearchPeopleParams, unknown
3939
limit: {
4040
type: 'number',
4141
description:
42-
'Optional. Number of search results to return. Defaults to 10, with a maximum value of 100.',
42+
'Optional. Number of search results to return. Defaults to 10, with a maximum value of 1000.',
4343
},
4444
filter: {
4545
type: 'object',

0 commit comments

Comments
 (0)