Skip to main content
Glama

Read files

get_files
Read-only

Read the files of a version. Without paths, lists the files; with paths, returns their content.

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": "<project>"
    },
    "name": "get_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsNoFiles whose content to return. Request large files one at a time.
projectYesThe project key, such as client-report.
versionNoDefaults to the published version.

Output Schema

NameRequiredDescriptionDefault
filesYes
versionYes
entrypointYesThe file served at the site's root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds one genuine behavioral point beyond that — the return shape switches between a listing and file contents depending on paths — but says nothing about how large or binary files are handled, which the schema only hints at.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Two short sentences, zero filler, with the mode-switching rule front-loaded. Every clause carries information the agent needs.

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 an output schema present and full parameter documentation, the description need not explain return values and correctly doesn't. It covers the essential mode distinction, though it omits guidance on request sizing or version selection that would round out a complex read operation.

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 adds real meaning beyond the schema by defining what omitting paths does (list mode) versus supplying them (content mode). This clarifies the most consequential parameter decision the agent must make.

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 the files of a version") and immediately explains the two operating modes: listing versus content retrieval. It doesn't name a sibling it is distinct from, but the dual behavior makes the tool's role unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit conditional guidance: omit paths to list files, supply paths to fetch content. No exclusions or comparisons to siblings like upload or get_project are offered, which keeps it short of a 5.

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.