Skip to main content
Glama

Confirm a destructive action

lnkdrp_confirm_action
DestructiveIdempotent

The action behind the buttons on LinkDrop's confirmation card: carries out, or cancels, the one action the card showed. Takes the card's token, which only the card holds; a token that is expired, used, or from another connection changes nothing.

Input Schema

NameRequiredDescriptionDefault
decisionYesonce: the action runs now. remember: the action runs now, and the person's standing permission for that tool is recorded on this connection. cancel: nothing changes. shown: the card reports that it is on screen; nothing changes.
cardTokenYesThe token the card received with the action it shows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds real value beyond that by explaining the token lifecycle: a token that is expired, used, or from another connection 'changes nothing', which substantiates the idempotency and one-shot semantics.

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?

Two sentences, front-loaded with the tool's role followed by the token caveat; no filler. The opening clause is slightly convoluted but earns its place.

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?

With annotations covering safety and the schema documenting the decision enum, the description supplies the remaining needed context (mechanism plus token-failure behavior). No output schema exists, and the return values are not critical here, so the coverage is adequate.

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% and the enum values for 'decision' are fully documented in-schema. The description only adds that the cardToken is held solely by the card and that invalid tokens are no-ops, which is marginal beyond what the schema already provides.

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 the resource precisely — the handler for the buttons on a confirmation card — and what it does (carries out or cancels the card's action). An agent can distinguish it from siblings like lnkdrp_check_approval or the mutation tools themselves, though the verb phrasing is abstract rather than a clean 'confirm X'.

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 context ('the action behind the buttons on LinkDrop's confirmation card') implies you call it when responding to a confirmation card, but there is no explicit when-to-use/when-not statement or named alternative. Usage must be inferred from the card framing.

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