Skip to main content
Glama

Meal curve

meal_curve

Meal Curve on Arc: buy or sell an Agent Meal NFT against a linear bonding curve (contract 0x74a442c1b9c3d4f47cc4d6f77abd0f6f60dafdc6). Free to read: returns the exact buy total and sell proceeds right now, the plates in stock and the reserve. Trading is on chain from your own wallet: buy(uint256 tokenId, uint256 maxTotal) payable with value = the quoted total (tokenId 0 = newest plate); sell(uint256 tokenId, uint256 minOut) after approve(curve, tokenId) on the Agent Meal 0xefa92e34a2adef2898abe482dede3a0161372244; withdraw(address to) for proceeds and change. Pass the EXACT quote (no slippage room). 2.5% fee to the APEX revenue split, no tip; a sale needs reserve.

Input Schema

NameRequiredDescriptionDefault
walletNooptional 0x wallet: also return what the curve owes it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

No annotations, so the description carries the full burden and does well: it discloses the 2.5% fee, that a sale requires reserve, that the quote must be passed exactly with no slippage room, and that trading happens from the user's own wallet (the tool itself does not execute). It omits refresh/rate behavior and whether quotes are block-state dependent, but the key caveats are present.

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?

Front-loaded with the purpose, but the remaining text is a dense run-on string of contract mechanics, function signatures, and approvals that largely concerns actions outside this tool. Several clauses could be dropped without losing what the agent needs to call it.

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 does enumerate the returns (buy total, sell proceeds, stock, reserve) and supplies contract addresses needed to act on quotes. For a one-parameter read tool it is nearly sufficient; it lacks a note on quote freshness and never ties the optional wallet input to the extra owed-balance output in one clear statement.

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% for the single optional wallet parameter, so the schema already explains it. The description does not mention the wallet parameter or what 'what the curve owes it' returns, adding no meaning beyond 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?

The description states a concrete resource with its contract address and the read output ('returns the exact buy total and sell proceeds right now, the plates in stock and the reserve'). It is muddied because half the text describes on-chain buy/sell/withdraw calls that the tool does not itself perform, so the agent must infer this is a quote/read tool.

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?

It implies usage ('Free to read', pass the EXACT quote) but never names a sibling alternative or states when to prefer this over arc_price or room_order_meal. The procedural steps for external trading help, but there is no explicit when-to-use or when-not-to-use guidance.

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