Skip to main content
Glama

Groundsocial

Estimate the cost of a job

estimate_cost
Read-onlyIdempotent

Prices a planned set of calls before you make them: credits per endpoint, the total, the keyless pay-per-call price in USD and what it costs at each credit pack. Free, and needs no API key. Endpoints can be tool names (reddit_search_posts) or endpoint ids (reddit.search.posts).

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": {
      "calls": "<calls>"
    },
    "name": "estimate_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
callsYesOne entry per endpoint, with how many calls you plan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description adds the non-obvious operational facts that it is free and requires no API key, plus the full breakdown of what the response contains. It does not mention behavior on unknown endpoints or how authoritative the USD figure is, which keeps it below 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?

Two tightly packed sentences with the core action and return shape front-loaded, then the auth/free qualifier, then the endpoint-format note. Every clause carries information an agent would otherwise have to guess.

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?

With no output schema, the description correctly explains the return composition (per-endpoint credits, total, keyless USD, credit-pack tiers), and it covers cost/auth/input formats. Gaps are minor: no statement on what happens for an unknown endpoint or whether the estimate is guaranteed, but nothing essential to invoking it correctly is missing.

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 description coverage is 100% and the nested calls/endpoint/count fields are already documented, so the baseline is 3. The description does add real value by giving concrete formats for the endpoint string (reddit_search_posts vs reddit.search.posts), which the schema's 'Tool name or endpoint id' leaves ambiguous, but it says nothing about the 50-item cap or how count affects pricing.

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?

The opening clause 'Prices a planned set of calls before you make them' gives a specific verb (prices) and resource (planned call set), and the rest enumerates exactly what the estimate contains: per-endpoint credits, total, keyless USD price, and credit-pack costs. It is clearly a pre-flight estimator rather than a data-fetch tool, so an agent can separate it from the search/get siblings, though no sibling is named explicitly.

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?

'before you make them' establishes the usage moment clearly, and 'Free, and needs no API key' removes the main hesitation about calling it speculatively. It stops short of naming alternatives (e.g., when to check account_balance instead) or stating exclusions, so it falls just below the explicit when/when-not bar.

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.