Skip to main content
Glama

Text to sign for a Recta request

recta_prepare_signed_request
Read-only

Step 1 of a free quote for a cross-chain transfer. Computes the exact message the agent's EVM wallet must sign (EIP-191 personal_sign) for one Recta request, and the headers to send. Holds no key and calls nothing. Then call recta_send_signed_request with the same method, path, idempotency_key, body and issued_at, plus the signature. Start with POST /v1/golden-corridor/commercial-evaluations (body: recta_request_template; its "sender" must be the signing address). If you have no wallet tool that can personal_sign, this server cannot sign for you: No signing code needed: the npm package @recta/client builds, checks and signs the request for you, and @recta/mcp (npx -y @recta/mcp) is a local MCP server that does it as tools: without a key it offers only the free fit check and trial; with RECTA_PRIVATE_KEY of a dedicated wallet (kept on your machine) it signs too. Evaluations are free and need no funds. Paying a fee needs the fee in USDC on Base and a USDC allowance to Permit2 (an ERC-20 approve of USDC to Permit2). If the transfer itself starts from USDC on Base, the wallet needs the transfer amount plus the fee.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "method": "<method>",
      "path": "<path>"
    },
    "name": "recta_prepare_signed_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoThe exact JSON body text, byte for byte as it will be sent. Empty for GET.
pathYesA signed route: /v1/golden-corridor/commercial-evaluations[/{result_id}[/execution-artifact|/fee-authorization|/execution]], /v1/golden-corridor/commercial-accruals/{payer} or /v1/golden-corridor/fee-debts.
methodYes
idempotency_keyNoRequired by POST /v1/golden-corridor/commercial-evaluations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already mark this as read-only and closed-world, and the description reinforces that with 'Holds no key and calls nothing.' It goes further by explaining the wallet capability needed, that evaluations are free, and that paying a fee requires USDC on Base plus a Permit2 allowance, all of which are material behaviors beyond the annotations.

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?

The description is front-loaded with the core step and next call, which is good. It becomes dense and run-on in the wallet/package guidance, with the npm package and local MCP server details packed into a single long passage; useful, but not tightly structured.

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 complex cross-chain signing-prep tool, it covers the call sequence, wallet requirements, free evaluation versus paid fee, and fallback options well. The main gap is that there is no output schema and the return value is only described at a high level, so the exact fields to extract, especially issued_at, are not specified.

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 at 75%, and the description adds useful meaning by requiring the body's sender to be the signing address and naming the initial POST route. However, it mentions sending 'the same ... issued_at' even though issued_at is not in this tool's schema, leaving some ambiguity about where that value comes from.

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 states a specific step and verb: it computes the exact EIP-191 personal_sign message and headers for one Recta request. It also distinguishes this preparation step from the sibling that performs the signed request, so an agent can tell the two apart without opening either schema.

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

Usage Guidelines5/5

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

It explicitly says to call recta_send_signed_request next with the same method, path, idempotency_key, body and issued_at plus the signature. It also names the starting POST route and explains what to do if no wallet tool can personal_sign, so the when-to-use and alternative paths are clear.

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.