Skip to main content
Glama

Delete query

pronoic_delete_query
Destructive

Withdraw a standing query. It frees a query slot. Optional operation_id is 1 to 64 letters, numbers, dots, underscores, or hyphens. Generate a new one for each write. If the call times out, call pronoic_operation_status with that id before you retry. The same id, tool and body replays a retained verifiable result. Reusing an id for a different tool or body conflicts. A verifiable new receipt may add conflict_reason different_tool or different_request (body or scoped context); older or ambiguous receipts keep a generic conflict. This detail never permits a retry or a new ID. Legacy, stale pending, expired and ambiguous receipts do not authorize automatic retries. Receipts are retained for about seven days; not_found does not prove an action never ran. Never automatically use a new id after an uncertain outcome.

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": {
      "query_id": "<query_id>"
    },
    "name": "pronoic_delete_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idNo
query_idYes
operation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and idempotentHint=false, but the description adds substantial context: slot release, receipt retention of about seven days, the not_found caveat (which does not prove non-execution), and an explicit prohibition on generating a new id after an uncertain outcome. It does not cover reversibility of the deletion or whether already-delivered events are affected.

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?

The purpose is correctly front-loaded in sentence one, but the rest is a dense run of retry-safety clauses with visible redundancy, e.g. "This detail never permits a retry or a new ID" and "Never automatically use a new id after an uncertain outcome" restate the same rule. Substantial length is spent on conflict_reason taxonomy that an agent rarely needs before calling.

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 destructive, non-idempotent mutation with no output schema, the definition covers retry and receipt behavior thoroughly but omits the outcome surface: what is returned on success, what error appears for a nonexistent query_id, and whether withdrawal is reversible. An agent can act safely on retries but cannot predict the response.

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?

With schema description coverage at 0% and three parameters, the description compensates well for operation_id (format, per-write generation, replay/conflict semantics) but says nothing about the required query_id or the optional agent_id. The stated allowed character set ("letters, numbers, dots, underscores, or hyphens") also omits the colon that the schema pattern permits, so the text is not a perfect substitute for the schema.

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 opening sentence states a specific verb and resource: "Withdraw a standing query. It frees a query slot." That distinguishes it from pronoic_create_query and pronoic_update_query by implication. However, the alternatives are never named, so the differentiation is inferred rather than stated.

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?

There is useful routing guidance for the failure case: "If the call times out, call pronoic_operation_status with that id before you retry." But the description never says when to withdraw versus update a query, what the prerequisites are, or what happens when the query_id is unknown. The guidance is conditional rather than positional.

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