Skip to main content
Glama

Delete a test file

delete_test_file
Destructive

Remove one of a test's files. Reference: https://testsy.dev/docs/mcp/

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

Input Schema

NameRequiredDescriptionDefault
nameYesFile name
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 destructiveHint=true, idempotentHint=false, and openWorldHint=false, so the safety profile is covered structurally. The description adds no behavioral context beyond that—it does not say whether removal is reversible, whether it requires ownership or specific permissions, or what error/response results from a missing file. A bare docs link does not discharge that burden for a destructive mutation.

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?

One short sentence front-loads the operation, with no redundant restatement of the title. The trailing documentation URL is low-value padding but does not obscure the core statement.

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?

With annotations covering the destructive/idempotency profile and a fully described two-parameter schema, the essentials are present. However, for a destructive delete the description should at minimum signal irreversibility and the failure mode for a nonexistent file, and there is no output schema to fall back on for response expectations.

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%, and the schema already documents both testId ("Test id (t_…)") and name ("File name"). The description adds no additional meaning, such as path semantics for nested files or whether name must be an exact match—so the baseline 3 applies.

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?

"Remove one of a test's files" gives a specific verb (remove) and scoped resource (a single file belonging to a test), which is distinguishable from add_test_file and list_test_files by implication. It does not explicitly contrast with delete_test (which would remove the whole test), leaving that distinction to be inferred from the sibling name.

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?

There is no guidance on when to use this versus delete_test or add_test_file, no prerequisites, and no statement about what happens if the named file does not exist. The only supplementary pointer is a documentation URL, which is not in-definition guidance.

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.