Skip to main content
Glama

agi_sell

Sell AGI for ETH on the AGIChainAI exchange on Base, with a per-call cap of 1,000,000 AGI and automatic refusal when price impact exceeds 5%.

Instructions

Sell AGI for ETH on the AGIChainAI exchange (Base). Moves at most 1000000 AGI per call. Approves the router for the exact amount only. Refuses if price impact exceeds 5%.

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": {
      "agiAmount": "<agiAmount>"
    },
    "name": "agi_sell"
  }
}

Input Schema

NameRequiredDescriptionDefault
agiAmountYesAGI to sell, e.g. '50000'
slippageBpsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses a per-call amount cap, that router approval is limited to the exact amount (a meaningful security trait versus infinite approvals), and that the call aborts on >5% price impact. Gaps remain around irreversibility, gas/network requirements, and default slippage handling, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, each carrying a distinct fact (venue, cap, approval scope, refusal guard), with the primary action and venue front-loaded. No filler or redundancy.

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 value-moving swap with no annotations and no output schema, the description covers the safety-relevant behavior an agent needs before calling. The missing pieces are secondary: default slippage, expected return/failure signal, and whether a quote step is required.

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 50%: agiAmount is documented with an example, but slippageBps has only min/max bounds and no explanation of units or default. The description adds a cap on agiAmount and ties the 5% price-impact guard to the slippage concept, but never explains slippageBps directly, so it only partially compensates for the coverage gap.

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?

Names a specific verb (sell), resource (AGI), counter-asset (ETH), venue (AGIChainAI exchange on Base), which cleanly separates it from the sibling agi_buy. An agent knows exactly what operation this performs without opening the schema.

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 sell-vs-buy split is implied by the name and description, and hard preconditions (max 1,000,000 AGI per call, refusal above 5% price impact) are stated. However, it never says when to prefer agi_quote first, nor what to do on refusal, so usage guidance is only implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.