Skip to main content
Glama

sign_receive_with_dai_permit

Read-only

Generates EIP-712 typed data for a DAI-style Permit. Authorizes the spender (default: protocol diamond) to pull DAI-style tokens from signerAddress until expiry. Sign locally with your wallet (EIP-712); add the resulting signature to the returned transferAuthorization { strategy: 'DAIPermit', data } and pass it in send_meta_transaction.transferAuthorizations. Returns: typedData to sign + transferAuthorization template.

Input Schema

NameRequiredDescriptionDefault
valueYesAmount in wei the spender is authorized to pull from the signer.
expiryYesUnix timestamp in seconds after which the DAI-style permit is no longer valid.
spenderNoOptional spender address. Defaults to the Boson Protocol diamond from SDK config.
configIdYesBoson/Fermion Protocol deployment identifier. Format: '<env>-<chainId>-<index>' e.g. 'production-137-0' (Polygon mainnet), 'testing-80002-0' (Amoy testnet). Call get_config_ids to list all valid values for this server.
signerAddressYesEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
tokenDomainNameYesEIP-712 domain name of the DAI-style token (e.g. 'Dai Stablecoin').
exchangeTokenAddressYesERC-20 token contract address that supports the permit/authorization standard.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The readOnlyHint=true annotation correctly reflects a local typed-data generator, and the description adds real context beyond it: the default spender (protocol diamond), the expiry-bounded authorization scope, and the exact shape of the returned transferAuthorization template. It does not cover failure modes or token-support limits, keeping it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences that front-load the core action before the usage workflow and return description. Every sentence carries task-relevant information, though the embedded field paths make some clauses heavy.

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?

With no output schema, the description correctly compensates by naming what is returned (typedData plus a transferAuthorization template) and how it must be signed and forwarded. Combined with fully-covered params, an agent has enough to invoke it correctly; only the choice among sibling permit standards is unaddressed.

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?

Schema description coverage is 100%, so the schema already documents all seven parameters, making 3 the baseline. The description adds only marginal detail, clarifying the spender default and the expiry cutoff ('until `expiry`'), while value, configId, signerAddress, tokenDomainName and exchangeTokenAddress are left entirely to the schema.

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?

States a specific verb and resource: 'Generates EIP-712 typed data for a DAI-style Permit.' An agent can tell what the tool produces. However, it does not explicitly differentiate itself from the closely-named siblings sign_receive_with_erc2612_permit, sign_receive_with_erc3009_authorization, and sign_receive_with_permit2, so channel selection still requires inference.

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?

Gives a clear end-to-end workflow: sign the returned typed data locally, then embed the signature into transferAuthorization and pass it via send_meta_transaction.transferAuthorizations. This tells the agent how the output is consumed. It stops short of stating when to prefer this permit standard over the erc2612/erc3009/permit2 siblings.

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