Skip to main content
Glama

Transaction gate check

wever_transaction-gate-check
Read-only

Agent Access: submit an agent-facing surface’s actions, each with whether it reads, writes or spends, the steps it passes through in order (prepare, approve and submit), whether it can also be invoked directly, who approves it (a person, an agent, a policy or no one), how the submitted action is bound to the approved one (digest, reference or none), whether each step is audited and what a caller needs to reach it. The signed report names every write or spend that can skip prepare, human approval or submit, runs its steps out of order or has a direct path around them, every approval not made by a person or not bound to what is submitted, every unaudited or unauthenticated write, and every read wrongly forced through the gate. Approver bands are wever_approval-chain-check, gates by action class are wever_action-threshold-check and whether the executed call matches the approved one is wever_approval-record-check. Verdict gate_skippable, gate_gaps, gate_unverified or gated. POST /api/transaction-gate-check. Reads only the material in the call: no network request, fetch, money movement, message, sharing, configuration change or external write. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-access-contract. Human page: https://weverlabs.com/agent-access/.

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
actionsYesEach action an agent can take on the surface.
surfaceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, and the description adds material context beyond them: the analysis touches only material in the call with no network fetch or external write, it is a paid endpoint at 0.10 USDC via x402 exact with a shared 10-free-call window per rolling 30 days, and X-Wever-Wallet-Proof must bind to the exact JSON arguments and tool route. It also discloses the return shape (Ed25519 signed receipt) and the four possible verdicts, so the agent knows the cost, auth requirement and output before invoking.

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?

Purpose is front-loaded in the first clause, and the endpoint, read-only guarantee and paid-access details sit in clearly separable sentences. However, the report paragraph is a single sprawling run-on that enumerates seven failure classes comma-spliced together, which slows an agent scanning for what the verdicts mean; splitting it would sharpen rather than lengthen.

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

Completeness5/5

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

This is a nested-object, no-output-schema tool, so the description has to carry the return value and it does: it enumerates what the signed report names, lists the four verdicts, and points to the contract and human page for schema depth. Payment, auth binding and the absence of side effects are all covered, leaving nothing an agent needs before calling.

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 67% and the nested action fields already carry short descriptions, so a baseline of 3 applies; the description earns one extra point by walking through the action fields in order and giving them semantic weight in the gate model (what 'binding' means for approving versus submitting, that approvers are a person, an agent, a policy or no one, that direct means a path around the listed steps). It stops short of clarifying edge cases such as how repeated steps or an empty steps array are interpreted, which is why it is not a 5.

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?

The opening clause gives a specific verb and object — submit an agent-facing surface's actions with their read/write/spend kind, step order, approver, binding and audit flags — and the report sentence states exactly what the check emits. It also names the three closest siblings and the distinct slice each covers (approver bands, action-class thresholds, executed-vs-approved match), so an agent can separate this tool from its neighbours without reading any schema.

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 sibling-mapping sentence gives de facto routing guidance: use wever_approval-chain-check for approver bands, wever_action-threshold-check for gates by action class, and wever_approval-record-check for executed-vs-approved matching. What is missing is an explicit 'use this when' precondition and any statement of when this check is unnecessary or would be rejected.

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.