Skip to main content
Glama

read_skill_file

Read-onlyIdempotent

Return the contents of one bundled file (script, reference or template) of a skill returned by load_skill. Pass the skill id and the file path as listed ("SKILL.md" returns the full SKILL.md).

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": {
      "id": "<id>",
      "path": "<path>"
    },
    "name": "read_skill_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe skill id load_skill returned, e.g. "skill:owner/repo#slug".
pathYesThe file path as listed under "Bundled files", relative to the skill folder (e.g. "scripts/check.py").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds one genuine behavioral detail — that "SKILL.md" returns the full SKILL.md — plus the load_skill dependency, but says nothing about failure behavior for a bad path or whether output is raw text versus parsed.

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?

Two tight sentences with the action front-loaded and the parenthetical edge case kept brief. Nothing is redundant, though the parenthetical could have been folded in slightly more smoothly.

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 two-parameter read tool with full schema coverage and complete annotations, the description covers purpose, prerequisite and the key edge case. Only error handling for an invalid path is left unaddressed, which is a minor gap given there is no output schema to explain returns.

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 both parameters are documented with examples in the schema itself, so the baseline is 3. The description only reinforces 'as listed' and the SKILL.md special case; it adds no format, casing or relative-path nuance beyond what the schema already states.

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?

States a specific verb and resource ('Return the contents of one bundled file') and narrows the scope to scripts, references and templates of a skill from load_skill, which cleanly separates it from the sibling that loads the skill itself. An agent can tell what this does without opening the schema.

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?

The phrase 'of a skill returned by load_skill' establishes the prerequisite call ordering, and 'Pass the skill id and the file path as listed' tells the agent where the inputs come from. It stops short of stating when not to use it or what to do if the path is unknown, so it is clear context rather than full routing guidance.

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.