Skip to main content
Glama

MatLogica Demo

demo_cancel_trace

Destructive

Cancel your queued or running product diagnostic; late results cannot be published.

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": {
      "job_id": "<job_id>",
      "guest_session": "<guest_session>"
    },
    "name": "demo_cancel_trace"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
guest_sessionYesWorkspace returned by demo_start_session in this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the irreversibility is structured data. The description adds real value beyond that by explaining the downstream effect that late results cannot be published, but it omits whether cancellation can be undone, whether partial results are retained, and what the response contains.

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?

A single tight sentence with the action first and the consequence second; there is no filler and nothing an agent must read past to get the key information.

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 destructive tool with no output schema, the definition covers the action, the target state, and the consequence of calling it. The remaining gap is post-call state (recoverability, result retention), which is minor given the annotations already flag destructiveness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%: guest_session is documented as coming from demo_start_session, but job_id has only a UUID regex and no semantic description. The description contributes nothing about the parameters, so it fails to compensate for the sparse coverage.

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 ("Cancel") and a specific resource scope ("queued or running product diagnostic"), which distinguishes it from cancellation-adjacent siblings like demo_cancel_job without naming them. An agent can tell what it does, though it must infer that "product diagnostic" equals the trace object handled by the demo_*_trace family.

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?

The phrase "queued or running" implicitly excludes already-completed diagnostics and tells the agent this is for in-flight work, and "late results cannot be published" signals the consequence. However, it gives no explicit comparison to demo_cancel_job or guidance on whether to wait for results instead of cancelling.

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