Skip to main content
Glama

Estimate audit cost

estimate_audit_cost
Read-onlyIdempotent

Count the records in a CSV and return the full-audit cost in credits, the current credit balance, whether it is sufficient, and whether this exact file was already audited in full. Free; never charges and never stores the file.

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": {
      "csv": "<csv>"
    },
    "name": "estimate_audit_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvYesThe full CSV text (header row + records), UTF-8. Up to 20 MB and 100,000 records.
destination_idNoOptional destination profile id configured in the Auditor IA account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world behavior, so the bar is low; the description still adds real value by stating it is free, never charges, and never stores the file, plus that it detects previously audited files. It doesn't cover rate limits or how the sufficiency check behaves on bad input, but the cost/storage guarantees are the key facts an agent needs.

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 dense sentences with no wasted words: the action and outputs come first, and the free/no-storage guarantee is compressed into a single trailing clause.

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

Completeness5/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 carries the burden of describing returns, and it enumerates all four result values (cost in credits, balance, sufficiency, prior-audit status). Combined with a fully documented two-parameter schema, an agent has everything needed to call this correctly.

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%, with the csv parameter already documenting UTF-8, the 20 MB limit and the 100,000-record cap, and destination_id documented as an optional profile id. The description adds no meaning beyond the schema, so the baseline 3 applies.

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?

Names a specific verb and resource ('Count the records in a CSV') plus the exact outputs (cost in credits, balance, sufficiency, prior-audit flag). This clearly separates it from audit_b2b_list and get_balance, though the description never names those siblings explicitly.

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 phrase 'Free; never charges' implies this is a pre-flight check to run before committing to a paid audit, but the description never says to do that or names audit_b2b_list as the tool to run afterward. Usage is left to inference rather than stated.

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