Skip to main content
Glama

Estimate research cost

estimate_cost
Read-onlyIdempotent

Estimate credits, sources, documents, and duration before starting research. Free.

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

Input Schema

NameRequiredDescriptionDefault
depthNolite: two short rounds and a cited answer, the fastest and cheapest choice for quick context or a fact an agent needs now. standard: four rounds, the default full report. deep: six rounds plus follow-on investigations and a dossier. Call estimate_cost for the exact credits and time.standard
questionYes
research_typeNogeneral
public_recordsNoAlso search and cite official public records (US federal rules, SEC filings, clinical trials, PubMed, federal spending, GOV.UK and more) for a small credit add-on.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / public_records
      Added value: +{
      +  "default": false,
      +  "description": "Also search and cite official public records (US federal rules, SEC filings, clinical trials, PubMed, federal spending, GOV.UK and more) for a small credit add-on.",
      +  "title": "Public Records",
      +  "type": "boolean"
      +}
  2. 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, non-destructive, and closed-world, so the safety profile is covered. The description adds a genuinely useful behavioral fact not present in annotations: the call is 'Free', i.e. consumes no credits, which is the key thing an agent wants to know before running a cost estimator. It stops short of stating rate limits or whether the estimate is binding.

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 short sentences with no filler. The output contents are front-loaded and the cost property is appended where it is most salient.

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 an output schema present, the description needn't explain return values, and the annotations cover the safety profile, so what remains is purpose plus the free-call fact — both stated. A minor gap is the unstated relationship to start_research and whether the returned estimate constrains the subsequent run.

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 only 50%, and the description adds no parameter-level meaning at all — it does not explain question, research_type, depth, or public_records. The two documented parameters (depth, public_records) carry rich schema descriptions, and the two undocumented ones (question, research_type) are largely self-evident from their names and enums, so the gap is tolerable but uncompensated.

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 description gives a specific verb ('Estimate') and enumerates exactly what is estimated: credits, sources, documents, and duration. It also scopes the action to 'before starting research', which implicitly separates it from the sibling start_research, though it never names that sibling.

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 starting research' is a clear usage cue that positions this as a pre-flight check rather than a research-execution tool. There is no explicit exclusion or named alternative, but the timing guidance is unambiguous enough for an agent to select correctly.

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