Skip to main content
Glama
caplinehq

capline-mcp

Official
by caplinehq

create_mandate

Create a spending mandate with per-transaction and cumulative caps across all chains, plus an optional payee allowlist, returning a mandateId for authorized payments.

Instructions

Provision a spend mandate the agent must operate under: a per-transaction cap, a cumulative cap enforced GLOBALLY across every chain, and an optional payee allowlist. Returns a mandateId to pass to pay. Normally the human principal sets this up once, before handing the agent any spending ability.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainsNochains this mandate is provisioned on
maxPerTxYesper-transaction ceiling, in USDC
maxTotalYescumulative ceiling in USDC, across every chain combined
principalNoidentity granting the authoritymcp-principal
allowedPayeesNoallowed payee identities; empty = any payee
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses key behavioral traits: the cumulative cap is enforced globally across chains, the payee allowlist is optional, and a mandateId is returned for subsequent `pay` calls. It does not mention permissions or error behavior, but given the absence of annotations, it provides solid context.

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 two sentences, front-loaded with the core purpose and specific constraints. It efficiently covers behavior, return value, and typical usage without any filler or redundancy.

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 input schema and lack of output schema, the description provides essential context: the tool is a one-time setup by the human principal, returns a mandateId, and imposes global constraints. It does not exhaustively cover error conditions or when the mandate becomes active, but it is sufficient for agent invocation and integration with sibling tools.

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 schema already covers 100% of parameters with detailed descriptions. The description adds minimal extra meaning beyond the schema, though it does emphasize the global nature of the cumulative cap and clarifies that the output is a mandateId. This is consistent with the baseline of 3 for full schema coverage.

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 clearly states the tool provisions a spend mandate with specific constraints (per-transaction cap, global cumulative cap, optional payee allowlist). It distinguishes itself from siblings by explicitly mentioning the returned mandateId that is passed to `pay`, making its role in the tool family unambiguous.

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 explains that this is normally set up once by the human principal before the agent is given spending ability, implying it is a prerequisite for `pay`. It does not explicitly name alternatives or exclusions, but the sibling tools (mandate_status, pay, revoke_mandate) make the usage context clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/caplinehq/capline-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server