Skip to main content
Glama

Read project file

read_project_file
Read-only

Read a document (e.g. main.tex, chapters/intro.tex, refs.bib) from one of the user's letX projects. Use when the user asks about a file in a project or wants it changed. Docs: https://letx.app/mcp/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesdocument path or name, e.g. main.tex or chapters/intro.tex
project_idYesthe project's id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"project id from list_projects"New value: +"the project's id"
  2. 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=true and openWorldHint=false, so safety is covered and the description adds little beyond a docs link. Notably idempotentHint=false on a pure read is counterintuitive and is left unexplained, and nothing is said about missing-path errors or output 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.

Conciseness4/5

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

Two short sentences plus a docs URL, with the core action front-loaded and no filler. The 'or wants it changed' clause is the one mildly wasteful/confusing phrase.

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 simple two-parameter read-only tool with no output schema, the definition covers what it reads and where. Gaps are minor: no mention of what a failed lookup returns or that content comes back as raw text.

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 both project_id and path are already documented in the schema, including the same path examples the description repeats. The description adds no syntax, relative-vs-absolute, or resolution guidance beyond that baseline.

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 ('Read a document ... from one of the user's letX projects') and gives concrete path examples, so an agent immediately knows what it does. It does not explicitly distinguish itself from siblings like update_project_file or list_project_files, relying on the read/write contrast being obvious.

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?

'Use when the user asks about a file in a project or wants it changed' gives a trigger condition, but the second clause is oddly worded for a read tool and no alternative is named. Nothing tells the agent to call list_project_files first to discover a valid path, which matters given a required path parameter.

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