Skip to main content
Glama

skills_read_resource

Read one specific bundled file—such as a reference document, helper script, or template—from a skill when its SKILL.md points to it, avoiding bulk reference-tree dumps.

Instructions

Read a single bundled file inside a skill — a reference document, a helper script, or a template (progressive disclosure level 3). Only call this when the loaded SKILL.md explicitly points at the file; never dump whole reference trees into context.

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

Input Schema

NameRequiredDescriptionDefault
nameYesSkill name.
pathYesPath relative to the skill directory, e.g. 'references/style-guide.md'.
maxCharsNoTruncate the file beyond this many characters. Defaults to 60000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden: it conveys read-only intent through "Read" and discloses the context-budget concern of pulling large reference trees, which is genuinely useful. It says nothing about error behavior for missing paths, permission requirements, or what happens when maxChars truncates content, leaving meaningful behavioral gaps.

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

Conciseness5/5

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

Two sentences, front-loaded with the action and immediately followed by the gating constraint. Every clause earns its place — the file-type examples and the anti-pattern warning both change agent behavior.

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 single-file read tool with no output schema and fully documented parameters, the description supplies enough to call it correctly and avoid the main failure mode of over-reading. Minor gaps remain around truncation behavior and missing-file handling, but nothing critical is absent.

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 description coverage is 100%, so name, path, and maxChars are already fully documented, including an example path and the 60000 default. The description adds only the framing that the path is relative to a skill directory's bundled files, which is marginal beyond the schema; baseline 3 applies.

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 concrete verb and resource ("Read a single bundled file inside a skill") and enumerates the file kinds it covers — reference documents, helper scripts, templates — which is far more specific than the name alone. It does not explicitly contrast itself with siblings like skills_get or skills_list, so an agent must infer the boundary.

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?

Gives a clear positive condition ("only call this when the loaded SKILL.md explicitly points at the file") plus an explicit prohibition against dumping whole reference trees. It lacks a named alternative for the case where the agent wants a skill's contents rather than a bundled file, so routing between siblings is only partially resolved.

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