Skip to main content
Glama

files_list

Lista los archivos adjuntos de una nota, issue o línea de registro {id, name, mimeType, size, createdAt}. target: note (nota), issue, task (tarea recurrente) o expedient_line (registro/expediente: los adjuntos de un registro van en una de sus líneas de actuación; búscala con expedient_lines_list o créala con expedient_line_add). id: el de ese elemento.

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": {
      "target": "<target>",
      "id": "<id>"
    },
    "name": "files_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID de la nota, issue, tarea recurrente o línea de registro
targetYesDónde está el adjunto

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. 'Lista' implies a non-destructive read and the field list hints at the return shape, but nothing is said about pagination, ordering, permissions/visibility rules, or whether an empty result differs from an inaccessible target. Adequate for a simple read, but thin for an unannotated tool.

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 compact sentences that front-load the action and return fields, then the target/id semantics. The brace notation for return fields is terse but readable. Slight density with nested parenthetical clarifications keeps it from a 5.

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 two-parameter listing tool with no output schema, the definition covers purpose, target semantics, and the tricky retrieval path. Missing only pagination/volume expectations and permission behavior, which are minor for this level of complexity.

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: it expands the enum values (task = recurring task, expedient_line = record line with a suggested retrieval path) and clarifies that 'id' is the identifier of the chosen element, not of the attachment. That directly reduces the main misuse risk.

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 opens with a specific verb and resource ('Lista los archivos adjuntos') and immediately enumerates what an attachment contains ({id, name, mimeType, size, createdAt}), then lists the four valid targets. An agent can tell this apart from creation/upload siblings such as file_upload or expedient_line_add without opening the schema.

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?

It resolves the one genuinely ambiguous target by explaining that a record's attachments live on one of its action lines and that the line must be located via expedient_lines_list or created via expedient_line_add. That is explicit routing guidance. It does not spell out when not to use this tool (e.g. versus browsing all files in a folder), so it stops short of a full when/when-not statement.

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