Skip to main content
Glama

Check AUI Key Credits & Inspect Cached Widget

aui_get_status
Read-onlyIdempotent

Inspect an aui_api_key's tier and remaining credit balance, and/or retrieve metadata and embed_url for an existing cached widget (cache_id chk_...), with zero credit deduction. Strictly read-only and idempotent (0 credits consumed; 120 req/15m per-IP limit; never exposes stored BYOK secrets). Use before aui_generate_ui or aui_share_widget to verify available credits, or to look up and reuse an existing chk_... widget (exists, ui_type, title, item_count, embed_url) instead of regenerating it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "aui_get_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
cache_idNoOptional `chk_...` widget identifier returned by `aui_generate_ui` to verify existence and metadata.
aui_api_keyNoOptional `trial-...` or `svsrva-key-...` to inspect (falls back to `Authorization: Bearer` header, or reports sandbox status if omitted).

Output Schema

NameRequiredDescriptionDefault
errorNoValidation error message when `success` is false.
widgetNo
successYesTrue when the status lookup succeeded.
key_statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the description's 'strictly read-only and idempotent' restates structured data. It does add genuinely new context beyond annotations: zero credit deduction, a `120 req/15m` per-IP rate limit, and that stored BYOK secrets are never exposed. However, it spends a full clause restating safety hints, so the net addition is moderate rather than rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Compressed into two long sentences, but the scoping and the routing advice are front-loaded appropriately. The heavy parenthetical stacking ('with zero credit deduction', the rate limit, the secret note, the field list) makes it dense and slightly harder to scan than needed, and the read-only claim duplicates the annotations.

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?

An output schema exists, so enumerating `exists`, `ui_type`, `title`, `item_count`, `embed_url` is not strictly required, but the description still covers both modes, cost, limits, and the credential fallback. Nothing an agent needs in order to choose or call the tool is missing.

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 both parameters already document their formats (`chk_...`, `trial-...`/`svsrva-key-...`) and the fallback chain to the `Authorization: Bearer` header. The description repeats the `cache_id` format and adds only which fields a cache lookup returns, which is output context rather than parameter meaning. Baseline 3 applies.

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 ('Inspect') and two concrete resources: an `aui_api_key`'s tier/credit balance and a cached widget's metadata plus `embed_url`. The dual-mode nature is clearly delineated by 'and/or', and the tool is distinguishable from `aui_generate_ui` and `aui_share_widget`, which it explicitly contrasts against.

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 when-to-use guidance: 'Use before `aui_generate_ui` or `aui_share_widget` to verify available credits' and 'to look up and reuse an existing `chk_...` widget instead of regenerating it'. Both conditions name the sibling tools they route away from, leaving little to inference.

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