Skip to main content
Glama

Read the project's code

read_source
Read-onlyIdempotent

The project's code at while, without changing anything: a folder (empty path or ending in /) gives its file list; a file, its content, in pages of 60,000 characters; archive: true, the archive link of a deployed version.

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

Input Schema

NameRequiredDescriptionDefault
pathNoA folder (empty, or ending in /): its list; a file: its content.
startNoA file: the first line returned (the rest of a long file, given by the response).
trialNoThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.
formatNoarchive: the archive's form.auto
archiveNotrue: the archive link of a deployed version.
projectNoThe project.
versionNoarchive: the version number; the live version by default.
environmentNoarchive: the version's environment (production by default).production

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / trial / description
      Previous value: -"The key returned by the first deploy_app (trial_key), passed again on each call."New value: +"The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
  2. 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 readOnlyHint, idempotentHint, and destructiveHint=false, so the description isn't needed for safety. It adds real behavior beyond them: results are paged in 60,000-character chunks, and 'start' resumes from the line indicated by the previous response. Pagination/continuation mechanics are exactly the kind of thing annotations can't convey.

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?

It is one dense sentence whose information is front-loaded and free of filler, which is good. However, the broken opening ('The project's code at while') and the tightly packed semicolon clauses make the first read slower than it should be.

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 an 8-parameter, zero-required tool with no output schema, the description sketches what each mode returns (file list, paged content, archive link) and how to resume a long file. It doesn't characterize the shape of the folder listing or how project/trial scope interacts, leaving minor gaps but nothing blocking a correct call.

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%, so the baseline is 3, but the description goes further by explaining the mode-dependent meaning of path, the page size behind start, and that archive/version/environment/format act together to address a deployed version. It clarifies the interaction flow (server returns the resume point) that the schema alone leaves implicit.

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 ('The project's code ... without changing anything') and enumerates the three modes: folder listing, file content, and deployed-version archive link. That makes the read-only reading tool clearly distinguishable from the write-side sibling upload_source. The garbled opening phrase ('at while') costs it a bit of crispness.

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?

It implicitly tells the agent how to select a mode: empty path or trailing slash for a listing, a file path for content, and archive:true for a deployment archive. It gives no explicit 'when to use this instead of X' routing against siblings such as get_project or upload_source, so the guidance is implied rather than stated.

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