Skip to main content
Glama

Read a skill's file

read_skill_file
Read-onlyIdempotent

Reads one file of a skill by its path, e.g. reference/style.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": {
      "workspace": "<workspace>",
      "slug": "<slug>",
      "path": "<path>"
    },
    "name": "read_skill_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
slugYesA skill's slug from list_skills.
as_agentNo
workspaceYesWorkspace slug from workspaces.list, e.g. "acme".

Output Schema

NameRequiredDescriptionDefault
pathYes
contentYes
mimeTypeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / as_agent
      Added value: +{
      +  "type": "string"
      +}
  2. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is fully covered there. The description adds that reads are scoped to a single skill's file tree and gives a relative-path example. It says nothing about missing-file behavior or path traversal limits, which would be the useful additions beyond annotations.

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 an illustrative example rather than padding. Nothing wasted, though it could have spent a few more words on path resolution without becoming bloated.

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?

An output schema exists, so return values need no explanation, and this is a simple single-file read. What remains uncovered – whether path is skill-root-relative, and what the undocumented as_agent parameter does – are modest gaps for a four-parameter tool.

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 50%; slug and workspace carry descriptions, but path has no schema description and as_agent is undocumented anywhere. The description partially compensates by showing a relative path example (reference/style.md), which is genuinely additive, but as_agent remains unexplained.

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?

Specific verb (reads) plus specific resource (one file of a skill) and it clarifies the addressing mode (by its path) with a concrete example. It implicitly separates itself from a whole-skill reader, but never explicitly names or contrasts a sibling.

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 on when to reach for this versus read_skill or read_file, and no preconditions stated. The only usage hint is the implied 'when you need a sub-file of a skill', which the agent must infer.

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.

Resources