Skip to main content
Glama

Tühista ettepanek

withdraw_proposal

Tühista oma kinnitamata (PENDING) ettepanek, nt kui tegid vea või asendad selle uuega. Teiste ettepanekuid tühistada ei saa.

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": {
      "proposalId": "<proposalId>"
    },
    "name": "withdraw_proposal"
  }
}

Input Schema

NameRequiredDescriptionDefault
proposalIdYesEttepaneku id (propose_* või list_my_proposals tagastatud)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false. The description adds meaningful behavioral context beyond that: only PENDING proposals are cancellable, and only the caller's own proposals may be cancelled. It does not explain what happens if the proposal is already processed or invalid, but the key constraints are disclosed.

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?

Two short sentences with no wasted wording. The core action and the most important constraint are front-loaded, and the usage example follows immediately.

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 simple one-parameter mutation with annotations and a fully described schema, the definition covers the essential scope and eligibility constraints. It is slightly incomplete about edge cases such as an already-cancelled or non-pending proposal, but nothing critical for correct invocation 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?

The schema has full description coverage for the single proposalId parameter, including the expected ID source (propose_* or list_my_proposals return values). The description adds no additional parameter-level meaning beyond the schema, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: cancel your unconfirmed (PENDING) proposal. It immediately clarifies the scope by restricting cancellation to the caller's own proposal and excluding other people's proposals, so an agent can distinguish it from read-only siblings.

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?

It gives clear when-to-use examples (after a mistake or when replacing the proposal with a new one) and a clear exclusion: you cannot cancel other people's proposals. It does not name an alternative tool for handling someone else's proposal, but the guidance is otherwise explicit.

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