Skip to main content
Glama
server-aggregation.it.test.ts.snap4.45 kB
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`SSE Router passes callTool requests from end-client to target MCP servers 1`] = ` { "content": [ { "text": "Tool echo: The sound of silence?", "type": "text", }, ], } `; exports[`SSE Router passes callTool requests from end-client to target MCP servers 2`] = ` { "content": [ { "text": "Result: 7", "type": "text", }, ], } `; exports[`SSE Router passes callTool requests from end-client to target MCP servers 3`] = ` { "content": [ { "text": "Result: 16", "type": "text", }, ], } `; exports[`SSE Router responds to listTools requests from end-client by listing target MCP server 1`] = ` [ { "description": "Adds two numbers together", "execution": { "taskSupport": "forbidden", }, "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "a": { "type": "number", }, "b": { "type": "number", }, }, "required": [ "a", "b", ], "type": "object", }, "name": "calculator-service__add", "title": "Addition Tool", }, { "description": "Calculates the power of two for a given number", "execution": { "taskSupport": "forbidden", }, "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "base": { "type": "number", }, }, "required": [ "base", ], "type": "object", }, "name": "calculator-service__powerOfTwo", "title": "Power of Two Tool", }, { "description": "Echoes back the provided message", "execution": { "taskSupport": "forbidden", }, "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "message": { "type": "string", }, }, "required": [ "message", ], "type": "object", }, "name": "echo-service__echo", "title": "Echo Tool", }, ] `; exports[`StreamableHTTP Router passes callTool requests from end-client to target MCP servers 1`] = ` { "content": [ { "text": "Tool echo: The sound of silence?", "type": "text", }, ], } `; exports[`StreamableHTTP Router passes callTool requests from end-client to target MCP servers 2`] = ` { "content": [ { "text": "Result: 7", "type": "text", }, ], } `; exports[`StreamableHTTP Router passes callTool requests from end-client to target MCP servers 3`] = ` { "content": [ { "text": "Result: 16", "type": "text", }, ], } `; exports[`StreamableHTTP Router responds to listTools requests from end-client by listing target MCP server 1`] = ` [ { "description": "Adds two numbers together", "execution": { "taskSupport": "forbidden", }, "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "a": { "type": "number", }, "b": { "type": "number", }, }, "required": [ "a", "b", ], "type": "object", }, "name": "calculator-service__add", "title": "Addition Tool", }, { "description": "Calculates the power of two for a given number", "execution": { "taskSupport": "forbidden", }, "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "base": { "type": "number", }, }, "required": [ "base", ], "type": "object", }, "name": "calculator-service__powerOfTwo", "title": "Power of Two Tool", }, { "description": "Echoes back the provided message", "execution": { "taskSupport": "forbidden", }, "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "message": { "type": "string", }, }, "required": [ "message", ], "type": "object", }, "name": "echo-service__echo", "title": "Echo Tool", }, ] `;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheLunarCompany/lunar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server