Skip to main content
Glama

aanet_estimate_savings

Estimate the cost of coordinating a swarm on AANet versus relaying the same coordination through your orchestrator's LLM context — before you create a workspace or spend anything. Same formula as the calculator at https://aanet.space/#savings.

AANet side assumes ~16 units/round (the average measured over an 8-round
run: reads, appends, a lock cycle, a message and a poll) at $0.00001/unit. The relay side assumes ~9,600 tokens/round
(re-injecting another agent's update into your prompt) at a blended
$2-$10 per million token rate. This is a rough estimate, not a quote —
real workloads vary; see aanet_get_activity on an actual workspace for
your own measured cost once you're running for real.

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": {
      "agents": "<agents>",
      "rounds_per_agent": "<rounds_per_agent>"
    },
    "name": "aanet_estimate_savings"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentsYesNumber of agents in the swarm you're planning.
rounds_per_agentYesCoordination rounds each agent will need (reads/writes/lock cycles).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/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 so well: it discloses the exact cost model (~16 units/round at $0.00001/unit vs ~9,600 tokens/round at $2-$10/M), states it has no side effects or spend, and flags that the result is a rough estimate, not a quote.

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 purpose followed by the assumptions and the caveat, all earning their place. The numeric assumption sentences are dense but necessary for interpreting the estimate; only slight verbosity.

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?

Complete for a pure computation tool with no output schema: the agent knows what inputs mean, what the calculation assumes, and that the result is approximate. Nothing critical is missing, though the response shape itself is left unspecified.

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 parameters are already documented in the schema. The description explains the model that consumes them but adds no per-parameter semantics beyond what the schema provides; baseline 3 applies.

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 — 'estimate the cost of coordinating a swarm on AANet versus relaying... through your orchestrator's LLM context' — and the comparison is unique among siblings, none of which estimate cost. An agent can distinguish this from the create/spend tools immediately.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear timing ('before you create a workspace or spend anything') and routes the agent to aanet_get_activity for actual measured cost once running. No explicit when-not-to-use case, but the pre-decision context is unambiguous.

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