Skip to main content
Glama

SQLGuard — permission before production writes

Pilot Challenge — PRIMARY wealth Exact $100.00 unlock

sqlguard_challenge
Read-onlyIdempotent

PRIMARY agent buy path. Free POST /v1/challenge with mutating SQL → DENY + deny_id. Exact USDC $100.00 via POST /v1/challenge/unlock (402 amount 100000000) opens 500 PASS / 7d. Alt: Gateway invoice $299/$499/$1999. Session/Cert/micro OFF TABLE as primary. Probe FREE tip — never authorizes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlNoOptional mutating SQL to preview; if set, returns mint body ready for POST /v1/challenge
agent_idYesAgent or wallet id that will unlock / claim
schema_ddlNoOptional schema_ddl paired with sql

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
mintNo
unlockNo
productNo

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already provide readOnlyHint, openWorldHint, idempotentHint, and non-destructive flags; the description adds concrete context such as the free challenge returning DENY+deny_id, the exact unlock amount, and Probe's non-authorizing nature. No contradiction exists because the described POSTs are external endpoints, not the tool's own state mutations.

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 every sentence contributes distinct information: primary path, challenge response behavior, unlock terms, and alternatives/probe caveat. It is front-loaded with 'PRIMARY agent buy path.' The telegraphic, jargon-heavy style slightly reduces scannability, but it avoids waste.

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?

Given the rich annotations, 100% schema coverage, and existing output schema, the description adds critical missing context: exact payment amount, duration, alternative price tiers, and probe limitations. This is sufficient for an agent to decide when and how to invoke the challenge/unlock flow. Omitted details like authentication are not essential given openWorldHint.

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 input schema covers 100% of parameters with meaningful descriptions (sql preview, agent_id, schema_ddl). The tool description does not add significant parameter-level detail beyond the schema; it mentions the unlock amount but that is not a parameter. Baseline 3 is appropriate since the schema does the semantic heavy lifting.

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 tool as the 'PRIMARY agent buy path' and details the specific challenge/unlock protocol, including the exact $100 USDC unlock and resulting 500 PASS / 7d. It also distinguishes from Gateway invoice and Probe alternatives. However, it relies on telegraphic endpoint references rather than a clean declarative verb+resource statement, which slightly reduces clarity.

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?

The description explicitly labels this as the primary buy path, lists an alternative Gateway invoice path with price tiers, and clarifies that Probe is free but never authorizes. This gives an agent useful selection cues relative to sibling tools. It could more directly reference sibling tool names, but the guidance is clear enough.

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

C2.9/5.0
Disambiguation2/5

The tool set is dominated by overlapping buy/unlock paths (challenge, pilot, buy, catalog, cert, session, workday, sprint, profit, handshake) that are poorly differentiated, with many marked as legacy or off-table. Only a few tools (bind, gate, verify, effects) have clearly distinct roles.

Naming Consistency2/5

All tools share the sqlguard_ prefix, but the second part is a mix of nouns, verbs, and vague branding (gravity, profit, sprint, handshake). There is no consistent verb_noun pattern, making it hard to predict a tool's purpose from its name.

Tool Count3/5

24 tools is heavy for a permission gateway, and many are redundant legacy or alternative buy paths. While the count is within the 16-25 borderline range, the core functionality could likely be served by 8-10 tools.

Completeness3/5

The core authorization flow (handshake → challenge/unlock → bind/gate → verify) is present, but the surface is muddied by legacy and alternative paths that create dead ends. Missing tools for managing denials or configuring policies leave some gaps, though the central lifecycle is covered.