Skip to main content
Glama

gqlfed_setup

Generate an Apollo Federation setup in a specified project directory to enable federated GraphQL architecture with subgraph configuration.

Instructions

Generate Apollo Federation setup

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNo
directoryYesProject directory
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, and it fails to do so. 'Generate' implies writing to the project directory, but the description doesn't state whether it creates new files, modifies existing ones, is idempotent, requires network access, or how api_key is consumed. The side-effect profile is entirely unknown.

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

Conciseness2/5

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

The description is maximally short at four words, but this is under-specification rather than conciseness. There is no context, no parameter information, and no sibling differentiation — every sentence (the single sentence) is generic enough that it could describe dozens of sibling tools naming 'Apollo' or 'federation'.

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

Completeness1/5

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

Critically incomplete. For a setup tool with 2 parameters (one undocumented), zero annotations, no output schema, and a rich cluster of related siblings (gqlfed_add_subgraph, gqlfed_optimize, gqlclient_setup_apollo, graphql_generate_schema), the description provides none of the information an agent needs: what gets scaffolded, what api_key is for, what the generated output looks like, and how this relates to the other graphql/gqlfed tools.

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

Parameters2/5

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

Schema description coverage is only 50% — api_key has no description in the schema, and the tool description adds nothing about either parameter. The general meaning of 'directory' is inferable from the schema's 'Project directory' wording, but the purpose of api_key (required for what? Apollo Studio? registry authentication?) is completely undocumented at every level.

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

Purpose3/5

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

The description states a verb ('Generate') and a resource ('Apollo Federation setup'), which clarifies that 'gqlfed' refers to Apollo Federation. However, 'setup' is underspecified — it doesn't say what is actually produced (gateway config, subgraph wiring, directory structure), and nothing in the description helps an agent distinguish it from close siblings like gqlfed_add_subgraph or gqlclient_setup_apollo.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. There is no mention of prerequisites (e.g., existing project structure), no indication of whether this is the first step before gqlfed_add_subgraph or gqlfed_optimize, and no exclusion criteria. An agent must guess the intended workflow context entirely from the name.

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/barnburner121/claude-plugin-marketplace'

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