Skip to main content
Glama

Create a manager (paid, x402)

create_manager
DestructiveIdempotent

Step 2: pay the quote and have the relayer create the manager. Costs the quoted USDC (usually $0.10, never above what quote_create_manager said without asking again). Without payment the result is an error whose structuredContent is the x402 PaymentRequired: an x402 MCP client retries with the payment in _meta["x402/payment"]; any other client POSTs to payUrl and pays its HTTP 402 with an x402 wallet. If gas rose since the quote a new PaymentRequired comes back and nothing is charged. One quote creates one manager; calling again returns the operation. Returns the operation: status (sent/done/failed), the manager address (from the factory's EnvelopV2Deployment event) once mined, the transaction.

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": {
      "quoteId": "<quoteId>"
    },
    "name": "create_manager"
  }
}

Input Schema

NameRequiredDescriptionDefault
quoteIdYesquoteId from quote_create_manager

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag this as a destructive, idempotent, open-world write; the description adds the economically critical facts the annotations cannot: the exact charge (quoted USDC, usually $0.10, capped at the quote), the failure shape (PaymentRequired in structuredContent), the gas-escalation re-quote behavior that charges nothing, and one-quote-per-manager semantics. The described creation behavior is consistent with destructiveHint=true and idempotentHint=true.

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?

Front-loaded with the action and step position, and every clause carries real information (cost cap, error path, retry mechanism, return shape). It is dense and reads as one long run-on paragraph, so a little structural separation between payment mechanics and return values would improve scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description fully compensates by naming the return fields: operation status (sent/done/failed), the manager address once mined from the EnvelopV2Deployment event, and the transaction. Combined with the payment and error paths, an agent has everything needed to call and interpret this tool.

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 100% and the parameter description already ties quoteId to quote_create_manager. The tool description adds meaning beyond the schema by establishing that a quote is single-use and that repeated calls replay the operation, which affects how the agent should source and reuse the ID.

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?

States a specific verb and resource ('pay the quote and have the relayer create the manager') and immediately positions itself as 'Step 2', which cleanly separates it from quote_create_manager (step 1) and prepare_create_manager. An agent can identify this as the paid execution step without opening any 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?

Explicitly states when to use it (after a quote), the prerequisite (quoteId from quote_create_manager), and the two alternative invocation paths for different client types: x402 MCP clients retry with _meta["x402/payment"], other clients POST to payUrl. It also warns that a re-call returns the existing operation rather than creating a new one.

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