Skip to main content
Glama

SQLGuard — Execution Certificate Firewall

Buy credits — LEGACY prepaid (OFF TABLE as wealth)

sqlguard_buy
Read-onlyIdempotent

LEGACY prepaid credits — OFF TABLE as wealth and primary agent buy. Prefer sqlguard_challenge (Exact $100 unlock) or Gateway invoice $299. micro|starter|builder|team remain for volume validates only, not authorize standard.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bundleYesCredit bundle to purchase: micro ($0.10), starter, builder, or team
agent_idYesAgent or wallet id that will own the purchased credits after x402 settlement

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bundleNoSelected bundle id
creditsNoCredits granted on settle
paymentNox402 payment funnel URLs and network details
agent_idNoNormalized agent id
price_usdNoList price in USD

TDQS

B3.3/5.0
Behavior1/5

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

The description and input schema describe a purchase that changes credit ownership after settlement, but the annotations declare readOnlyHint=true. This is a direct contradiction: the description does not correct or qualify the read-only signal and fails to disclose the actual mutating/payment side effects of the operation.

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?

The description is compact and front-loaded with the legacy status and preferred alternatives. Every clause carries information, though the phrase 'OFF TABLE as wealth and primary agent buy' is awkward and slightly ambiguous.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has only two well-documented parameters and an output schema, and the usage policy is covered. However, the readOnlyHint annotation directly contradicts the buy semantics, and the description never clarifies that calling this tool will actually execute a purchase and change state. That is a critical completeness gap for safe agent use.

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?

The schema description coverage is 100%, so the description does not need to explain bundle or agent_id. It adds policy context by noting bundles remain for volume validates only, but no additional technical parameter semantics beyond the schema. Baseline 3 is appropriate.

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 identifies the resource as LEGACY prepaid credits and implicitly the buy action via the title and 'primary agent buy', while distinguishing this tool from sqlguard_challenge and Gateway invoice. However, it never plainly states 'purchases a credit bundle'; the meaning is inferred from the name and schema rather than explicitly described.

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?

The description explicitly tells agents to prefer sqlguard_challenge for an exact $100 unlock or Gateway invoice for $299, and restricts micro|starter|builder|team bundles to volume validates only, not standard authorization. This is clear, actionable when-to-use and when-not-to-use guidance with named alternatives.

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.

TDQS

B3.1/5.0
Disambiguation1/5

Multiple tools occupy the same job: challenge and pilot both sell the $100/7-day PASS; buy/catalog/cert/session/workday/validate are all legacy prepaid paths; handshake/protocol/require/sdk all provide onboarding/compliance guidance. Descriptions add PRIMARY/LEGACY labels, but an agent still has to parse heavy cross-references to avoid picking the wrong payment or authorization tool.

Naming Consistency4/5

All tool names share the consistent sqlguard_ prefix and lower_snake_case style, and each name maps to a recognizable concept. However, the set mixes noun labels (denials, gravity, session) with verb labels (bind, buy, verify), so it is not a strict verb_noun API convention.

Tool Count3/5

24 tools sits at the top of the 'heavy but borderline' range. Many could be collapsed because the legacy prepaid paths (session, workday, cert, buy, catalog, validate) are explicitly marked OFF TABLE for the primary wealth path, leaving redundant surface area.

Completeness4/5

The core lifecycle is well covered: handshake/onboarding, challenge/pilot unlock, bind/gate/verify pre-execution checks, denials inventory, effects verification, and client status. Minor gaps exist only around explicit invoice/refund/revocation tooling, but those appear to be handled externally or by expiry.