Skip to main content
Glama
letoribo

mcp-graphql-enhanced

introspect-schema

Retrieve GraphQL schema and type definitions for initial discovery and analysis. Use typeNames to target specific types and avoid truncation on large APIs.

Instructions

Retrieve the full GraphQL schema and type definitions. READ-ONLY: This tool is strictly non-destructive. It fetches schema metadata and performs internal conflict resolution based on timestamps in memory. It does not modify, delete, or create data on the remote GraphQL endpoint. Use this for initial discovery and schema analysis before calling 'query-graphql'. Returns a structured JSON object containing type definitions and field specifications. If 'typeNames' is provided, it restricts output to those specific types. CAUTION: For large-scale schemas (e.g., GitHub GraphQL API or @neo4j/graphql models), the response may be truncated or empty if requested without filtering. Always use 'typeNames' to target specific segments when working with complex production schemas.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNamesNoList of specific GraphQL type names to introspect. If omitted, the full schema is returned (use with caution on large APIs).
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, description fully discloses read-only nature, non-destructive behavior, internal conflict resolution in memory, and potential truncation for large schemas. Covers all behavioral aspects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Efficiently structured: starts with purpose, then read-only declaration, behavior, usage, return format, parameter explanation, and caution. Every sentence adds value. No redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no output schema, description adequately explains return value. Covers purpose, behavior, usage, parameter, and limitations. Sufficient for effective tool selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, baseline 3. Description adds extra caution and examples (GitHub, Neo4j) beyond schema, reinforcing proper usage of typeNames. Provides additional context for effective tool use.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states verb 'Retrieve' and resource 'GraphQL schema and type definitions'. Distinguishes from sibling 'query-graphql' by positioning it for initial discovery and schema analysis before querying.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells when to use: 'for initial discovery and schema analysis before calling query-graphql'. Also advises caution for large schemas and recommends using typeNames. Does not explicitly exclude other uses, but context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/letoribo/mcp-graphql-enhanced'

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