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); use the result to build a TransferAuthorization { strategy: 'DAIPermit' } for a meta-tx flow. Returns: typed data structure.

Input Schema

TableJSON 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

C2.9/5.0
Behavior1/5

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

The description contradicts the readOnlyHint=true annotation by stating the tool authorizes a spender to pull tokens, which is a mutation. It does not clarify that the signature enables a state-changing transaction, and the annotation is misleading. Flagged as annotation contradiction.

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?

The description is concise at three sentences, front-loading the core action and output. It is well-structured but could be slightly more precise about the return type.

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?

Given the lack of output schema and many sibling tools, the description is incomplete. It does not explain how this permit type differs from others (e.g., vs. erc2612), nor does it specify prerequisites like token support for DAI-style permits.

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 coverage is 100%, so the input schema provides descriptions for all parameters. The description does not add additional semantic value beyond what the schema already provides, meeting the baseline expectation.

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 clearly states the tool generates EIP-712 typed data for a DAI-style Permit, specifying the action (sign) and resource (permit). It differentiates from siblings by naming the permit type, but does not explicitly distinguish from other permit tools (erc2612, erc3009, permit2).

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

Usage Guidelines3/5

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

The description explains the flow: sign locally with EIP-712 and use the result for a meta-tx. However, it does not provide guidance on when to use this tool versus alternatives (e.g., when the token supports DAI-style permit vs. ERC-2612), nor does it state prerequisites or exclusions.

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