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

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.7/5.0
Behavior3/5

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

Annotations already declare this is read-only, non-destructive, and closed-world, so the safety profile is covered. The description adds project scope and path examples, but does not describe return content, errors, or whether reads are always idempotent.

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?

The description is short and front-loads the core action and examples. The docs link is compact and the sentences are efficient, though the 'wants it changed' phrase adds ambiguity rather than value.

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 tool with full schema coverage and clear read-only annotations, the description is largely sufficient. It could more clearly distinguish reading from updating, but no critical invocation detail is missing.

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 both required parameters are already documented. The description repeats path examples but adds no syntax, constraints, or meaning beyond the schema.

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?

The description states a specific verb and resource: read a document from a letX project. It gives concrete file examples and scopes the tool to project files, which distinguishes it from listing projects or compiling projects.

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 gives a clear usage context for reading files, but the phrase 'or wants it changed' is ambiguous and does not explicitly point to update_project_file. No when-not conditions or explicit sibling alternatives are provided.

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.