Skip to main content
Glama

Create a mandate

mandate_create

Creates a mandate and the out-of-band approval link for the owner. Never: Activate production. Free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopesYes
channelNo
paid_byNoWho pays the platform fees. business (default): billed to the business. agent: from your own credit; send your jfa_ key.
sandboxNotrue: a test mandate with sample data, approved at once, no fees, valid one day. The whole flow runs, payment is simulated, nothing reaches a real business.
businessNo
delegateYes
expires_in_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations only provide hints (write, not idempotent, not destructive), so the description's additions matter: it discloses the out-of-band owner approval step, a hard scope limit (never activates production), and that the call is free. It still omits that repeated calls create separate mandates (non-idempotent), what auth/credit requirements apply, and what the returned approval link does.

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?

It is short and front-loaded, which is good, but the second and third fragments ('Never: Activate production. Free.') read as clipped notes rather than structured guidance, and the whole thing is under-scaled for a seven-parameter nested tool. Nothing is wasted, but it is terse to the point of being cryptic.

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?

For a non-idempotent creation tool with nested objects, no output schema, and a required approval handoff, the description leaves too much unsaid: the meaning of a mandate, the approval workflow timing, and what the caller receives back. It answers only the bare 'what' and a couple of side facts.

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

Parameters2/5

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

Schema description coverage is only 29% and the schema itself documents just paid_by and sandbox. The description says nothing about delegate, scopes, channel, business, or expires_in_days, so the majority of the seven parameters (including two required, nested ones) are unexplained in both places.

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 states a specific verb and resource ('Creates a mandate') and adds a notable output artifact ('the out-of-band approval link for the owner'), which tells the agent this call stages an approval rather than finalizing anything. However, it never defines what a 'mandate' is in this system or contrasts itself with siblings like job_create or assign, so the boundary is only partly clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is a negative constraint ('Never: Activate production') and a cost note ('Free'), but no statement of when this tool should be chosen over siblings such as job_create, assign, or flow_configure, nor any prerequisite about who must approve. The agent must infer all routing from the name alone.

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.

Resources