Skip to content

Commit b334d1d

Browse files
committed
add new MCP tools
1 parent 9b7c492 commit b334d1d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/data/mcpTools.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ export const mcpTools = [
5353
apiReference: '/api-reference/get-an-entity',
5454
roles: ['developer', 'builder']
5555
},
56+
{
57+
name: 'count_entities',
58+
description: 'Count entities matching specified filters without retrieving entity data. Returns only the count number for efficient queries like "how many services are in production?"',
59+
apiReference: '/api-reference/get-all-entities-of-a-blueprint',
60+
roles: ['developer', 'builder']
61+
},
5662
{
5763
name: 'update_entity',
5864
description: 'Update an existing entity. Only the fields provided will be updated.',
@@ -157,13 +163,8 @@ export const mcpTools = [
157163

158164
// Documentation and user tools
159165
{
160-
name: 'ask_port_docs',
161-
description: 'Ask a question about Port documentation',
162-
roles: ['developer', 'builder']
163-
},
164-
{
165-
name: 'search_port_docs_sources',
166-
description: 'Search for relevant Port documentation sources based on a query',
166+
name: 'search_port_sources',
167+
description: 'Search the official Port documentation and return the most relevant sections from it for a user query. Each returned section includes the url and its actual content in markdown. Use this tool for all queries that require Port knowledge.',
167168
roles: ['developer', 'builder']
168169
},
169170
{

0 commit comments

Comments
 (0)