Skip to main content
Glama

Read skill file

read_skill_file
Read-only

Read a skill support file by its exact manifest URI, while rejecting out-of-catalog, path-traversal, or non-catalog-scheme requests without opening arbitrary files or executing content.

Instructions

Lê um arquivo de apoio de uma skill pelo URI exato listado no manifesto de read_skill. Recusa URI fora do catálogo, com .. ou de outro esquema. Não abre caminho arbitrário do sistema de arquivos e não executa o arquivo.

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
uriYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the readOnlyHint/destructiveHint annotations, the description discloses real behavior: input validation rules, that it will not open arbitrary filesystem paths, and that it does not execute the file. It does not describe what the response contains or size limits.

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?

Three short sentences, each carrying distinct information: what it reads, where the URI must come from, and the safety constraints. No repetition of the title or annotations.

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 one-parameter read tool with no output schema, the description covers selection, preconditions and failure modes. The main gap is return-format expectations (raw text vs. structured content), which the agent would have to discover at call time.

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 0% for the single 'uri' parameter, but the description compensates by defining it as an exact URI drawn from the read_skill manifest and by specifying the formats that are rejected ('..', other schemes).

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 concrete verb and resource ('Lê um arquivo de apoio de uma skill') and pins the scope to a URI from the read_skill manifest, which cleanly separates it from read_skill (manifest) and list_skills (enumeration).

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?

Effectively tells the agent to obtain the URI from the read_skill manifest first and enumerates rejection cases (outside the catalog, containing '..', other schemes). No explicit statement of when NOT to use it in favor of read_skill, but the precondition is unambiguous.

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

Deploy Server

Other Tools