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.

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": {
      "cardToken": "<cardToken>",
      "decision": "<decision>"
    },
    "name": "lnkdrp_confirm_action"
  }
}

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. Changed1 schema field changed
    • changedInput schema / properties / cardToken / maxLength
      Previous value: -4000New value: +200000
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, openWorldHint=true and readOnlyHint=false, so the safety profile is supplied structurally. The description adds real context beyond that: token provenance, expiry, single-use, and connection binding, plus the fact that a stale token silently changes nothing. It does not say whether a bad token raises an error or returns silently, nor what the caller receives back, which is the main remaining behavioral gap for a destructive tool.

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 tight sentences with the core operation front-loaded and the token constraint trailing as a caveat. No filler sentences. It reads slightly cryptically ('the one action the card showed') which costs a point on immediate comprehensibility.

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?

With only two required parameters, full schema coverage and no output schema, the description covers the conceptual model well. What remains missing is outcome information: whether success returns the underlying action's result, and how a rejected token surfaces (error vs silent no-op) — meaningful for a destructive, idempotent operation.

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 description coverage is 100% and the decision enum is fully documented in the schema, so the schema already carries the parameter semantics. The description adds provenance for cardToken ('only the card holds', connection-bound, expired/used tokens are no-ops), which is genuine value, but with full schema coverage the baseline of 3 is the right anchor given it never discusses decision values.

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 names a specific verb pair and resource: it carries out or cancels 'the one action the card showed', scoped to LinkDrop's confirmation card. That is clearly distinct from every sibling tool, none of which operate on a card token. It stops just short of 5 because 'the action' is never made concrete, so the agent knows the mechanism but not the domain effect.

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 establishes the triggering condition implicitly and clearly: this tool is invoked when a confirmation card has shown buttons, and the required cardToken 'only the card holds'. It also supplies a useful exclusion ('from another connection' changes nothing). It lacks an explicit 'do not call directly to perform deletes yourself; use the delete_* tools' routing statement, which would be the natural 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.

Resources