Skip to main content
Glama

SQLGuard — Execution Certificate Firewall

Authorize bus (free)

sqlguard_gate
Read-onlyIdempotent

ABMP GATE — free portable authorize bus. POST /v1/gate with certificate+signature+sql (+ mandate when BIND). Any mutating agent tool fail-closes here before execute. Issues nothing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlYesExact SQL about to execute (must match sql_hash)
mandateNoRequired when certificate.mandate_kind is abmp_intent
signatureYesEd25519 signature
schema_ddlNoOptional schema — checks schema_hash when provided
certificateYesExecution Certificate from Instant Cert or Mandate Bind

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
freeNo
productNo
endpointNo

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already indicate read-only and non-destructive behavior, and the description adds important behavioral context beyond those: it fail-closes before execution, is a gate rather than an executor, and issues nothing. This clarifies the tool's side effects and safety posture well. No contradiction with annotations is present.

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?

The description is compact, front-loading the tool identity and role, then giving endpoint usage, conditional requirements, and behavioral guarantees. Every sentence carries meaningful information, with no filler or redundancy. It is efficiently structured for quick agent consumption.

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 tool with five parameters, nested objects, and an output schema, the description is reasonably complete: it conveys purpose, required inputs, conditional mandate, and non-executing behavior. The optional schema_ddl parameter is not mentioned, but the schema fully documents it. An output schema exists, so lacking return-value detail is not a gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3, but the description adds context beyond the schema by naming the required request components ('certificate+signature+sql') and the conditional mandate requirement ('when BIND'). This helps an agent understand the request shape without opening the schema. It does not detail all parameters, but the schema already covers them.

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 clearly identifies the tool as an authorization gate for mutating SQL, stating it fail-closes before execution and issues nothing. It distinguishes this tool from execution or issuance tools by emphasizing it does not execute or issue anything. Some jargon like 'free portable authorize bus' slightly obscures the core action, but the overall purpose is understandable.

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 provides clear usage context: any mutating agent tool should pass through this gate before execution. It makes the fail-closed behavior explicit, which tells an agent when this tool is mandatory. It does not explicitly name alternatives or exclusions, but the conditional mandate and 'before execute' guidance are sufficient directional context.

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.