Skip to main content
Glama

agi_buy

Buys AGI with ETH on AGIChainAI (Base) under a 0.01 ETH spend cap and rejects trades that would move price more than 5%.

Instructions

Buy AGI with ETH on the AGIChainAI exchange (Base). Spends at most 0.01 ETH per call. Refuses if the trade would move the price more than 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": {
      "ethAmount": "<ethAmount>"
    },
    "name": "agi_buy"
  }
}

Input Schema

NameRequiredDescriptionDefault
ethAmountYesETH to spend, e.g. '0.001'
slippageBpsNoSlippage tolerance in basis points (default 300)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full disclosure burden and does meaningful work: it names the chain, caps spend per call, and defines an explicit refusal condition based on price impact. It still omits whether the trade is irreversible, whether token approval is required, and what happens to funds on a refusal.

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?

Three short sentences, front-loaded with what the tool does, then the spend cap, then the refusal rule. Every sentence contributes a fact an agent needs before calling.

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

Completeness3/5

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

There is no output schema, so the description should say what comes back (AGI received, transaction hash, confirmation status) and does not. For a fund-spending trade on an exchange, the absence of return-value and approval details leaves a meaningful gap despite the strong safety constraints.

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%, so both ethAmount and slippageBps are already documented with examples and bounds. The '0.01 ETH per call' cap in the description adds a real constraint that the schema does not express, but slippageBps is not discussed and the cap is not reconciled with it.

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?

States a specific verb and resource ('Buy AGI with ETH'), plus the venue and chain ('AGIChainAI exchange (Base)'), which clearly separates it from agi_sell and agi_quote by direction. It stops short of explicitly naming a sibling, but an agent can identify the operation 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 description gives hard operating conditions (max 0.01 ETH per call, refusal above 5% price impact) but never says when to prefer this over agi_quote or what to do before calling. Usage is implied by the constraints rather than stated as guidance.

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