Skip to main content
Glama

Read a skill file

read_skill_file
Read-only

Reads one supporting file of a skill by its skill:// URI (from get_skill's files list). Images come back base64-encoded.

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

Input Schema

NameRequiredDescriptionDefault
uriYesThe file's skill:// URI, as listed by get_skill.
versionNoA version from list_skill_versions; omitted = the latest (or the one the drama pins)
drama_idNoRead the version this drama pins (get_drama_context lists its skills)

Output Schema

NameRequiredDescriptionDefault
uriYes
mimeYes
contentYes
versionYes
encodingYes

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, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds one genuinely new behavioral fact: image content is returned base64-encoded, which affects how the agent must handle the response. It says nothing about size limits or failure modes for missing/invalid URIs.

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 short sentences with the core operation front-loaded and the URI provenance in parentheses, no filler. The base64 note is a slight appendage but earns its place as response-handling context.

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?

With an output schema present and full annotation and parameter coverage, the description only needs to convey the operation and the one non-obvious response characteristic, which it does. Nothing essential for a correct invocation is missing.

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%, so all three parameters (uri, version, drama_id) are already documented in the schema, including the version-pinning interaction between version and drama_id. The description only restates the uri source and adds no semantics for version or drama_id, so 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 specific verb and resource ("Reads one supporting file of a skill") and pins the addressing scheme (skill:// URI), which clearly separates it from get_skill, which lists the files rather than returning them. It stops short of naming other siblings, but the resource is unambiguous.

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?

Points to the prerequisite source of the URI (get_skill's files list), which is useful routing context. However, it never states when to prefer this over get_skill, list_skill_versions, or get_drama_context, and gives no exclusions or error conditions; usage is implied rather than specified.

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.