Skip to main content
Glama

Santismm Knowledge — Harness Engineering, Agentic AI & Governance

Calculate the operational economics of an AI agent

calculate_agent_economics
Read-onlyIdempotent

Calculate monthly operating cost, cost per verified outcome, manual baseline, savings, ROI and break-even success rate from explicit assumptions. Use this for an agent business case or scenario comparison; keep every monetary input in the same currency and cite the returned canonical_url.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeNoLanguage for interpretations, assumptions, formulas and warnings. The Labs execution service currently resolves fr/de/ja/zh to English and reports that fallback.
toolCostYesExternal tool cost per attempt.
retryRateYesExtra attempts as a percentage of initial volume.
hourlyCostYesFully loaded human hourly cost, in the chosen currency.
inputPriceYesModel input price per million tokens, in the chosen currency.
reviewRateYesShare of cases reviewed by a person.
inputTokensYesInput tokens per agent attempt.
outputPriceYesModel output price per million tokens, in the chosen currency.
successRateYesCorrectly verified outcomes as a percentage of cases.
outputTokensYesOutput tokens per agent attempt.
manualMinutesYesManual handling time per case.
monthlyVolumeYesCases attempted per month.
reviewMinutesYesHuman review minutes per reviewed case.
reworkMinutesYesHuman rework minutes per failed case.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYes
unitsYes
inputsYes
sourceYes
api_urlYes
licenseYes
resultsYes
updatedYes
versionYes
fallbackYes
formulasYes
languageYes
warningsYes
assumptionsYes
canonical_urlYesCite this URL.
interpretationYes
schema_versionYes
methodology_urlYes
resolved_localeYes
requested_localeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare the tool read-only, idempotent, and non-destructive. The description adds some useful context ('from explicit assumptions', returned canonical_url should be cited), but it does not substantially expand on behavioral characteristics such as response structure or failure modes; the output schema covers those.

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?

Two sentences with no fluff: the first lists the computed outputs, the second states the intended use case and the two critical call-time constraints. The most important information is front-loaded and every clause earns its place.

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 tool's complexity (14 parameters, output schema present, annotations present), the description plus schema is sufficient for an agent to call it correctly. It covers what is calculated, when to use it, and the currency/citation caveats. It could be slightly stronger by explicitly routing away from sibling calculation tools, but it is not materially incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema does the heavy lifting for individual parameters. The description adds cross-parameter meaning by requiring all monetary inputs to be in the same currency, which is a constraint not encoded in the schema, and clarifies that all inputs are explicit assumptions rather than fetched data.

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 opens with a specific verb and resource ('Calculate monthly operating cost... from explicit assumptions') and enumerates the exact output metrics (ROI, savings, break-even success rate). This clearly distinguishes it from sibling calculation tools like calculate_evaluation_sample_size and calculate_human_supervision_capacity.

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?

The description explicitly states when to use the tool ('Use this for an agent business case or scenario comparison') and gives practical usage constraints (same currency for monetary inputs, cite canonical_url). It does not explicitly name alternatives or state when not to use it, so it stops short of a 5.

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.