Skip to main content
Glama

Check quote approval status

aimixer_approval_status
Read-onlyIdempotent

Read the state of one existing AIMixer spend approval after the user may have confirmed it on mixerai.org. Read-only and account/client scoped; does not approve, submit, or spend. Use the original approval_handle. If approved, submit only that exact quote with its original stable idempotency key. If claimed, reconcile the existing submission using the same identity; never create a new key. If stale or expired, discard the old button and request a new quote and confirmation.

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": {
      "approval_handle": "<approval_handle>"
    },
    "name": "aimixer_approval_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
approval_handleYes

Output Schema

NameRequiredDescriptionDefault
okYes
kindYes
stateYes
expected_coinsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / state / enum
      Previous value: -[
      -  "pending",
      -  "approved",
      -  "claimed",
      -  "expired"
      -]New value: +[
      +  "pending",
      +  "approved",
      +  "claimed",
      +  "stale",
      +  "expired"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety bar is partly covered. The description still adds real context beyond them: account/client scoping, the prohibition on creating a new idempotency key, and what to do in each downstream state. It does not describe the returned state vocabulary, which the output schema presumably carries.

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?

Front-loaded with purpose and read-only scope, then a compact sequence of conditional next steps. Dense with no filler, though the branching workflow makes it longer than a minimal tool definition and could be split for faster scanning.

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 one-parameter read tool with annotations and an output schema, the description covers what it does, what it must not do, and how each observed state should be followed up. The remaining gap is the meaning of individual status values, which the output schema is expected to define.

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 0% for the single required approval_handle, so the description must compensate. It does add meaning by insisting on the original handle and tying it to the original stable idempotency key, but it never explains the handle's origin, format, or how to recover it when lost.

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?

States a specific verb and resource ('Read the state of one existing AIMixer spend approval') and immediately scopes it to post-confirmation on mixerai.org, plus an explicit negative scope ('does not approve, submit, or spend'). This distinguishes it from the quote/submit siblings without ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit branch-by-branch guidance: approved means submit only that exact quote with its original idempotency key, claimed means reconcile with the same identity, stale/expired means discard the button and request a new quote. Alternatives and when-not-to-act are both stated.

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