Skip to main content
Glama

inspect

Analyze the GraphQL server's schema and capabilities to understand available queries, mutations, and data structures for API interaction.

Instructions

Inspect this server

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
__ignore__NoThis does not do anything

Implementation Reference

  • The 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", }, ], }; }
  • Zod input schema for the 'inspect' tool, defining an optional ignored boolean parameter.
    { __ignore__: z .boolean() .default(false) .describe("This does not do anything"), },
  • src/index.ts:56-76 (registration)
    Registration of the 'inspect' tool via server.tool(), specifying 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", }, ], }; } );
Install Server

Other 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