Skip to main content
Glama

get_file_spec

Read-onlyIdempotent

Get the detailed specification for one AI readiness output file (e.g. llms.txt, ai-entities.json)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filename": "<filename>"
    },
    "name": "get_file_spec"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesOutput filename, e.g. llms.txt or .well-known/ai-plugin.json

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully carried by structured data. The description adds no behavior beyond that — it says nothing about whether a nonexistent filename errors or returns empty, or how large/structured the specification is (there is no output schema to compensate).

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

Conciseness4/5

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

One sentence, front-loaded with the verb and resource, with the scope-limiting phrase 'for one ... output file' placed before the examples. No wasted wording; slight cost is that brevity leaves behavioral gaps unaddressed.

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

Completeness4/5

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

For a one-parameter, read-only lookup with 100% schema coverage and rich annotations, the description covers what an agent needs to select the tool. Absent an output schema, a brief hint at what the 'specification' returns (field list, format, length) would have closed the remaining gap.

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

Parameters3/5

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

Schema coverage is 100% and the single parameter 'filename' is already documented with examples ('llms.txt or .well-known/ai-plugin.json'). The description's examples (llms.txt, ai-entities.json) partially overlap with but do not materially extend the schema, so the baseline 3 is appropriate.

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

Purpose4/5

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

States a specific verb ('Get') and resource ('detailed specification for one AI readiness output file'), with concrete examples (llms.txt, ai-entities.json) that tie it to the sibling generate_ai_readiness_files. It does not explicitly contrast itself with siblings like list_output_files or get_site_classification_guide, so differentiation is implied rather than stated.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this returns documentation/format details for a single generated file. There is no explicit when-to-use vs. when-to-use-a-sibling guidance, no note about whether the file must already exist (i.e. whether generate_ai_readiness_files must run first), and no statement about what happens for unknown filenames.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.