Skip to main content
Glama

Discard a pull

pros_discard_pull
Destructive

Throw out one staged pull and every unpromoted row from it, with a reason, so it can be re-read and staged again. A wrong pull means a wrong file: staged rows are never edited, the pull is discarded and handed over again from a fresh read. Rows that already became accounts are NOT removed and are listed back — an account is a real thing now and deleting the row behind it would leave the account with no provenance. The hash is free again afterwards. Effects: pull and its unpromoted rows deleted; promoted rows kept and listed; hash free to stage again.

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": {
      "source_id": "<source_id>",
      "reason": "<reason>"
    },
    "name": "pros_discard_pull"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy — the wrong file, a misread column, a re-pull.
source_idYesThe pull, e.g. PUL-0001.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the destructiveHint=true annotation, the description specifies exactly what is destroyed (the pull and its unpromoted rows), what survives (promoted rows, kept and listed, with a provenance rationale), and a side effect the schema would not reveal: 'The hash is free again afterwards.' That is precisely the added context annotations cannot carry.

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?

The destructive scope is front-loaded in sentence one, and the 'wrong pull means a wrong file' framing earns its space by justifying the design. It loses a point for the trailing 'Effects:' line, which largely restates 'promoted rows kept and listed' already stated two sentences earlier.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive two-parameter mutation with no output schema, the description supplies everything an agent needs: required reason, what is deleted vs. retained, and what comes back ('listed back' promoted rows). Nothing material is missing.

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 coverage is 100% with only two params, both documented in-schema, so baseline is 3. The description reinforces that a reason is mandatory ('with a reason') but adds no syntax, format, or ID conventions beyond the schema's 'e.g. PUL-0001'.

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 first sentence names a specific verb (throw out) and resource (one staged pull and its unpromoted rows), and the body makes clear this is the inverse of promotion ('Rows that already became accounts are NOT removed'). An agent can distinguish it from pros_promote or pros_rows, though no sibling is named explicitly.

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

Usage Guidelines4/5

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

'A wrong pull means a wrong file: staged rows are never edited, the pull is discarded and handed over again from a fresh read' gives a clear condition for when to use it — correcting a bad import rather than fixing rows. No explicit 'when not to use' or named alternative (e.g. pros_promote, pros_qualify) is stated, so it falls short of a 5.

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.