Skip to main content
Glama

linger_decide_card

Submit a decision for a pending Linger card to approve or deny runtime permissions, answer questions, or confirm relayed high-risk actions; policy guards restricted cards.

Instructions

Submit a decision for a pending Linger card (runtime_permission approve/deny, question submit with answers, or human-confirmed relay decisions). High-risk and Linger-UI-only cards are guarded by policy.

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": {
      "decision_id": "<decision_id>",
      "decision": "<decision>"
    },
    "name": "linger_decide_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
answersNoMap of question.id to chosen option id(s) or custom text when decision='submit'
commentNoDenial reason or note on question submission (forbidden on approve)
room_idNoRoom ID for uncached card inspection
decisionYesDecision action
message_idNoMessage ID for uncached card inspection
decision_idYesDecision ID from pending_cards
human_confirmedNoSet true only when the human explicitly confirmed a relayed high-risk card in Codex
expected_versionNoCard version for optimistic concurrency; auto-resolved if cached

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose a real behavioral trait the schema cannot: high-risk and Linger-UI-only cards are policy-guarded, so some submissions will be refused. However, it says nothing about side effects, whether decisions are reversible, what error or refusal looks like, or the consequences of passing human_confirmed.

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 dense sentences, front-loaded with the action and followed by the modes and the guard caveat; nothing is wasted. The parenthetical is slightly packed but each clause maps to a real decision mode.

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 an eight-parameter mutation tool with no annotations, no output schema and a nested answers object, the description covers the main modes and the policy guard, which is the essential missing context. It falls short on what a successful or refused submission returns and on the optimistic-concurrency path, which the agent must infer from the schema.

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%, so every parameter is already documented in the schema, and the baseline is 3. The description adds only mode-level hints (answers go with submit, human_confirmed belongs to relayed high-risk cards) and does not clarify expected_version auto-resolution or the approve/comment prohibition beyond what the schema already says.

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 gives a specific verb and resource ('Submit a decision for a pending Linger card') and then enumerates the three decision modes (runtime_permission approve/deny, question submit with answers, relay decisions), so an agent can immediately tell whether a given pending card belongs here rather than with linger_get_reply or linger_read_room.

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 parenthetical maps decision types to modes, which implies when to call it, but there is no explicit 'use this when…' guidance and no mention of alternatives or prerequisites (e.g. that decision_id must come from a listing call) beyond what the schema already states. The guard note tells the agent some cards cannot be decided here, which is useful context, but it does not say what to do instead.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.