Skip to main content
Glama

List a test's files

list_test_files
Read-only

Files a test can upload during its steps (for example an import file).

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": {
      "testId": "<testId>"
    },
    "name": "list_test_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
testIdYesTest id (t_…)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/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. The description adds domain semantics but no behavior: nothing about ordering, pagination, what happens for a nonexistent testId, or whether the list includes files already added versus merely permitted formats. For a read tool with annotations, this is thin.

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?

A single short sentence with no waste, and the substantive detail (what the files are for, the import-file example) comes first. It is efficient, though it is on the edge of being too sparse to be actionable on its own.

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 one-parameter read tool with full schema coverage and annotations, the description is adequate but incomplete: it never says what the call returns (a list of file objects with ids/names?) or how the files relate to add_test_file. Given the low complexity, this is minimum-viable rather than deficient.

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?

There is a single required parameter and schema description coverage is 100%, with the schema documenting testId as 'Test id (t_…)'. The description adds nothing about the parameter, but the baseline of 3 applies when the schema fully documents it.

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 identifies the resource precisely and, more usefully, explains what these files ARE: artifacts a test can upload during its steps (e.g. an import file). Combined with the title 'List a test's files' and the name list_test_files, an agent can tell this apart from add_test_file/delete_test_file. It stops short of stating the listing verb itself, leaning on the name for that.

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

Usage Guidelines2/5

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

No guidance on when to call this versus the sibling mutation tools (add_test_file, delete_test_file) or how it relates to get_test. There are no prerequisites, no exclusions, and no stated context of use. The agent must infer that this is a read-side companion to add_test_file.

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.