Skip to main content
Glama

Signet — grant a scoped mandate

signet_grant

Step 2: authorize an actor (yourself, for full autonomy) to do specific actions within LIMITS — the mandate is enforced fail-closed on every action. Set require_approval=false for no-human execution. Spend caps + target allowlist + expiry bound the blast radius; revoke anytime (on Solana, revoke DESTROYS the session key). SOLANA (a chain-501 connection + require_approval=false): the grant mints a rail-held session keypair and returns its session_address — fund it with the budget it may spend (its balance is the hard on-chain cap); target_allowlist entries are base58 recipient/program addresses, matched case-SENSITIVELY. Requires Authorization: Bearer . A grant can be a STANDING mandate (no_expiry:true, or expires_in_days:0) — a long-lived per-wallet/per-chain authorization the agent keeps and reuses; the spend cap and revoke are the walls, not a clock.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actorYeswho may act — your agent id, or 'self'
chainNo
no_expiryNotrue = a STANDING mandate with no expiry (bounded by the spend cap + revoke). Use for a per-chain wallet mandate the agent should keep.
spend_capNocumulative budget, smallest unit (wei) — for pay/transfer
spend_assetNo'native' or an ERC-20 address
valid_untilNoor an explicit RFC3339 expiry, or "never" for a standing mandate
action_typesYese.g. ["deploy"], ["pay"]
connection_idYesfrom signet_connect
max_per_actionNoper-action ceiling, wei
expires_in_daysNogrant lifetime in days (default 30). Pass 0 for a STANDING mandate that never expires.
require_approvalNofalse = autonomous (no human); true = escalate each action to the owner
target_allowlistNocontract addresses this actor may call

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes far beyond the sparse annotations: discloses fail-closed enforcement, the Solana-specific side effect that revoke DESTROYS the session key, JWT auth requirement, hard on-chain spend caps, case-sensitive allowlist matching, and standing-mandate semantics. No contradiction with readOnlyHint=false/destructiveHint=false.

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?

Information-dense and front-loaded, but the description is a long run-on block with redundant restatements of schema semantics (e.g. no_expiry:true, or expires_in_days:0) and repeated 'revoke' mentions. It would be easier to parse with bullets or tighter sentence boundaries.

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 12-parameter, no-output-schema tool, the description covers a lot: JWT requirement, Solana specifics, standing mandates, fail-closed behavior, and even the returned session_address. It does not fully explain cross-chain behavior or all optional parameter interactions, but it is sufficient for correct selection and invocation in most cases.

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 coverage is high (92%), so the baseline is 3. The description adds real value on top: chain-501 Solana behavior, funding the session keypair as the real cap, target_allowlist being base58 and case-sensitive, and the meaning of no_expiry/expires_in_days as standing mandates. It does not explain every parameter, but the schema already covers most.

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 description opens with a specific verb and resource: 'authorize an actor ... to do specific actions within LIMITS' and frames it as 'Step 2' in the Signet flow. This clearly distinguishes it from connect/approve/revoke siblings by focusing on the creation of a scoped mandate.

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?

Provides concrete usage context: 'Set require_approval=false for no-human execution' and explains when a STANDING mandate is appropriate ('Use for a per-chain wallet mandate the agent should keep'). It does not explicitly name siblings as alternatives, but the when-to-use 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.