Skip to main content
Glama

Read the motion component spec

read_spec
Read-only

The contract a motion component keeps with any host (its folder, renderAt, ctx, props, tokens, hosts): read it before writing a component of your own.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read_spec"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the topical scope of what the spec covers (folder, renderAt, ctx, props, tokens, hosts), which is genuinely useful context, but it never says what form the response takes (prose document vs structured data) or how large it is, leaving the agent guessing about the return payload.

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?

A single sentence with the content scope front-loaded and the usage instruction trailing. No filler, though the dense parenthetical of domain jargon makes it slightly harder to parse than it needs to be.

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 zero-parameter, read-only, closed-world tool this is close to complete: it says what the spec covers and when to call it. Without an output schema, the one remaining gap is the shape of the returned content, which the description leaves unspecified.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline is 4. Nothing in the description misleads about inputs.

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 frames the resource abstractly as 'the contract a motion component keeps with any host' rather than plainly naming it as the motion component spec, and the verb 'read' only appears inside the usage clause. The parenthetical field list (folder, renderAt, ctx, props, tokens, hosts) hints at the contents, but an agent has to infer that this returns a specification document rather than component data. It is distinguishable from get_component/get_tokens only by implication.

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?

'read it before writing a component of your own' gives a clear, actionable trigger for invocation. There is no explicit when-not guidance and no sibling alternative is named, so it stops short of the top mark.

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.