Skip to main content
Glama

Project file text

epitech_project_file
Read-only

Retrieve one Epitech project resource as text using its project instance ID and path; PDFs are converted into readable text.

Instructions

Text of one project resource, e.g. the subject PDF (path from epitech_project.resources). PDFs are converted to text.

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": {
      "project_instance_id": "<project_instance_id>",
      "path": "<path>"
    },
    "name": "epitech_project_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
project_instance_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds a genuinely non-obvious behavior ('PDFs are converted to text'), which is valuable, but it says nothing about limits, failure modes for missing or non-PDF paths, or truncation of very large documents.

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 with zero filler, and the core purpose is front-loaded before the example and the PDF-conversion note. The fragmentary phrasing ('Text of one project resource') costs it a little polish but not clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read-only fetch with no output schema, the description covers what is returned (text) and where the path comes from, which is close to sufficient. It leaves gaps around the unexplained project_instance_id and around behavior for non-PDF or large resources.

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 0%, so the description must carry parameter meaning: it does explain where 'path' comes from (epitech_project.resources) and why it is needed. However, 'project_instance_id' is never mentioned, so only half the parameters are given meaning beyond their bare names.

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 resource ('Text of one project resource') and gives a concrete example ('the subject PDF'), which is enough to separate it from sibling tools like epitech_project or epitech_projects. It is a noun phrase rather than a verb+resource statement, but the intent (fetch extracted text of a project file) is unambiguous.

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 supplies a useful prerequisite hint by telling the agent the path comes from epitech_project.resources, which implicitly routes usage through epitech_project first. There is no explicit when-not-to-use guidance and no mention of alternatives for other resource types, so usage 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.