Skip to main content
Glama

Calder Inference Workspace

run_diagnostic

Submit a diagnostic command to the project's preview worker.

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": {
      "command": "<command>"
    },
    "name": "run_diagnostic"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYes
ops_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already state readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description adds nothing beyond that. It does not say whether the command runs synchronously, whether output is returned in the response, whether elevated permissions are needed, or what the side effects on the preview worker are – all important for a command-submission tool.

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

Conciseness3/5

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

It is a single front-loaded sentence with no wasted words, which is structurally clean. However, the brevity comes at the cost of substance rather than reflecting genuine conciseness, so it cannot score higher.

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?

There is no output schema, so the description needn't explain return values, and the annotations do carry the basic safety profile. Still, for a tool that submits commands to a worker and accepts an ops token, the definition omits parameter meaning, execution semantics, and result reporting, leaving meaningful gaps for an agent trying to call it correctly.

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 0% for two parameters, so the description must compensate and it does not. "command" is only obliquely implied to be the diagnostic command string, while "ops_token" – a parameter whose name suggests an elevated or operational credential – is never mentioned at all, leaving the agent to guess its purpose and when to supply 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 gives a specific verb ("Submit"), a specific resource ("a diagnostic command"), and an explicit target ("the project's preview worker"), so an agent knows the basic action. It falls short of a 5 because it never says what a "diagnostic command" actually is (shell line, named check, plugin verb) and gives no hint how it differs from the sibling integration_diagnostic tool.

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 integration_diagnostic or deployment_inspect, no preconditions, and no statement about when it should not be used. The agent must guess the intended situation from the one-line purpose alone.

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