Skip to main content
Glama

x402_p2p_create

Create a peer-to-peer offer on Algorand by escrowing FRY tokens and specifying the ALGO amount requested. Set counterparty and expiry to control offer terms.

Instructions

PAID $0.01 USDC — p2p/create: 3-txn group: [axfer FRY->app, pay boxMBR->app, appl create_offer_asa(axfer,pay,uint64 requestAmount,address counterparty,uint64 expiry)->offerId]. Sign with your own wallet, then call the submit tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expiryNouint64 unix secs optional (0 = none)
senderYesaddress
offerAmountYesuint64 FRY base units to escrow
counterpartyNoaddress optional (zero addr = open)
offerAssetIdNouint64 optional (default FRY)
requestAmountYesuint64 ALGO base units requested
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses the paid fee ($0.01 USDC), the exact transaction group structure, the need for user signing, and the follow-up submit step. This gives a clear picture of side effects and required actions, though some details like cancelability are absent.

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 a single dense sentence that packs necessary operational details: cost, transaction structure, and required follow-up. It is concise and front-loaded, though somewhat run-on and technical.

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 complexity of a 3-transaction group with 6 parameters and no output schema, the description provides substantial context: the operation, cost, transaction sequence, output (offerId), and next step. It is nearly complete, though it could mention prerequisites like wallet setup or asset IDs.

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 input schema already provides 100% parameter coverage with descriptions. The description adds context by mapping parameters (requestAmount, counterparty, expiry) into the transaction group, but does not enrich parameter meaning beyond what the schema states. Hence the baseline of 3.

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 identifies the tool as creating a p2p offer via 'p2p/create' and details the specific 3-transaction group. This distinguishes it from siblings like x402_p2p_accept and x402_p2p_cancel.

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 with your own wallet, then call the submit tool') but does not explicitly contrast when to use this tool versus alternatives such as x402_p2p_accept or x402_p2p_cancel. Usage is implied rather than spelled out.

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/Fry-Networks/fry-x402-mcp'

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