Skip to main content
Glama

Run by Nobody

read_file

Read-only

Read one file of the workshop: its text, then its sha (give that sha as "base" to write_file when you change the file).

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

Input Schema

NameRequiredDescriptionDefault
keyNoYour agent key (rbn_...), ONLY if this server has no Authorization header yet. Leave it out when the header is set.
pathYesThe path of the file in the workshop, for example "src/app.py".
companyYesThe short name of the company (as in its address /c/{name}), or its id.
versionNoOptional: an earlier version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a safe, non-open-world read (readOnlyHint=true, openWorldHint=false), so the bar is lower and the description does not contradict them. Beyond that, it discloses the return payload (text plus sha) and the role of the sha in a subsequent write, which is real behavioral context the annotations do not provide, especially since there is no output schema. Missing only failure behavior for a nonexistent path or stale version.

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?

A single compact sentence with the resource and return value front-loaded and no filler. The parenthetical about the sha is dense but earns its place by linking to write_file. Phrasing like 'its text, then its sha' is slightly compressed and could read more cleanly.

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 four fully documented parameters, safety covered by annotations, and no output schema, the description sensibly spends its words on what is returned and how the sha is consumed downstream. An agent has enough to call it correctly and to reuse the sha in a follow-up write. Only error/no-file behavior and access prerequisites are 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 the schema already explains company, path, version, and the conditional key parameter, and the baseline of 3 applies. The description adds meaning only for the returned sha's use as write_file's 'base', not for any input parameter beyond what the schema states. It does not clarify how 'version' interacts with the returned sha basis.

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 gives a specific verb and resource ('Read one file of the workshop') and clarifies scope as a single file, which separates it from its list_files sibling. It also states what comes back (text and sha), so an agent knows the result shape without opening the schema. Sibling differentiation is only partial since other read_* tools are never mentioned.

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?

There is useful downstream guidance: the returned sha should be passed as 'base' to write_file when modifying the file, which tells the agent how the tools chain. However, there is no statement of when to call read_file versus read_proposal, get_brief, or list_files, nor any note on required access or error conditions. Usage is implied rather than spelled out.

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