Skip to main content
Glama

Resolve an uncertain submission

resolve_uncertain_submission

Clears a pending retry guard after you verify in KFC and confirm the previous order was not created, closed, or paid; it does not query or cancel orders.

Instructions

Clear the retry guard ONLY after the user personally checks KFC and explicitly confirms the prior order was not created, is closed, or has been paid. This does not query or cancel an order.

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": {
      "attemptId": "<attemptId>",
      "confirm": "<confirm>",
      "resolution": "<resolution>"
    },
    "name": "resolve_uncertain_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYes用户已明确确认已在官方渠道核实,且该订单未创建、已关闭或已支付
attemptIdYessession_status 中 lastSubmission.attemptId
resolutionYes用户确认的核实结果

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnly=false, destructive=false, openWorld=false, so the safety profile is already partly covered; the description adds meaningful context beyond that — the user-verification precondition and the fact that this does not touch the order itself. It leaves unstated what clearing the guard actually enables (presumably permitting a fresh submission), which is the one behavioral detail an agent might still want.

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 sentences, no filler, and the critical constraint ('ONLY after...') is front-loaded before the clarifying exclusion. Every clause carries operational meaning.

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 3-parameter, non-read-only tool with no output schema, the description supplies the guard condition and the negative scope, which is most of what an agent needs. Only the post-clear effect (what state the session is left in) is left implicit.

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 the schema already documents attemptId, confirm, and the resolution enum. The description restates those semantics in prose ('explicitly confirms', 'not created, closed, or paid') without adding syntax, sourcing, or error-handling detail beyond the schema.

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 uses a specific verb phrase ('Clear the retry guard') and immediately scopes it against neighboring behaviors ('This does not query or cancel an order'), which separates it from order_status and any cancellation flow. The only weakness is that 'retry guard' is internal jargon that isn't tied back to the tool name 'resolve_uncertain_submission', so the agent must infer they refer to the same operation.

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 an explicit, emphatic precondition: use ONLY after the user personally checks KFC and explicitly confirms the prior order was not created, closed, or paid. It also rules out adjacent intents (querying, cancelling). It stops short of naming a concrete sibling to use instead when the precondition fails, which keeps it from a 5.

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