Skip to main content
Glama

Read a library tool or skill file

read_library_file
Read-onlyIdempotent

Pro. Read one file from the scene library pack: a custom tool (e.g. "tools/diff.py"), "tools/REQUIREMENTS.md" (what each tool needs installed), the reverse-engineering skill ("skills/reverse-engineer-video-rebuild/SKILL.md" and its references) or "TOOLS.md". Without path it lists every file. Tools run on the user's machine, not here: before saving, running or installing anything, show the user what it does and get their explicit OK. Each file comes with its sha256.

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_library_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoFile path as listed, e.g. "tools/inkbox.py".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered; the description nonetheless adds real context beyond them. It discloses that a file's sha256 accompanies the content, and that the files describe tools executing on the user's machine rather than in the sandbox, with an explicit requirement to obtain user approval before saving, running, or installing anything. Only the unexplained 'Pro.' prefix adds nothing.

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

Conciseness3/5

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

The body is front-loaded with purpose and the file taxonomy, then the no-path behavior, then the safety constraint — a sensible order with little filler. However, the leading 'Pro.' token is unexplained noise that reads as a tier marker rather than information, and the machine-vs-remote safety paragraph, while valuable, is longer than the read operation itself warrants.

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?

There is no output schema, so the description must say what comes back; it does — file content plus a sha256, or a full file listing when `path` is absent. The main residual gap is the absence of any note on file size limits, truncation, or error behavior when a path is not in the pack, which matters for a tool that reads arbitrary listed paths.

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?

Schema coverage is 100% for the single optional `path` parameter, so the baseline would be 3, but the description adds genuine semantics the schema does not: omitting `path` switches the tool from read to enumerate-every-file. That behavioral meaning of the optionality is the key thing an agent needs and it is stated plainly, with example path shapes.

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?

The description names a specific verb and resource ('Read one file from the scene library pack') and enumerates the concrete file kinds in scope: custom tools, tools/REQUIREMENTS.md, the reverse-engineering SKILL.md, and TOOLS.md. It also states the no-argument fallback (list every file), so the agent knows the tool's two modes. It does not explicitly separate itself from lookalike siblings such as read_skill or read_agent_tool, which keeps it from a 5.

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?

Usage is implied by the enumeration of file types and by the 'without `path` it lists every file' branch, which tells the agent how to discover paths before reading. What is missing is explicit routing guidance against the many read_* and list_* siblings — nothing says when to pick this over read_skill or read_library_scene. The safety sentence about showing the user before running a tool is workflow guidance rather than tool-selection 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.