Skip to main content
Glama

inspect

Utilize this tool to analyze and introspect the GraphQL MCP Server, enabling detailed examination of its schema and capabilities for effective query execution.

Instructions

Inspect this server

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
__ignore__NoThis does not do anything

Implementation Reference

  • Handler function for the 'inspect' tool that logs 'Inspecting server' and returns a text content block with 'This is a test'.
    async () => { console.log("Inspecting server"); return { content: [ { type: "text", text: "This is a test", }, ], }; }
  • Input schema for the 'inspect' tool, which includes an ignorable boolean parameter.
    { __ignore__: z .boolean() .default(false) .describe("This does not do anything"), },
  • src/index.ts:56-76 (registration)
    Registration of the 'inspect' tool using server.tool(), including name, description, input schema, and handler function.
    server.tool( "inspect", "Inspect this server", { __ignore__: z .boolean() .default(false) .describe("This does not do anything"), }, async () => { console.log("Inspecting server"); return { content: [ { type: "text", text: "This is a test", }, ], }; } );

Other Tools

Related Tools

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/FabrWill/gql-mcp'

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