Skip to main content
Glama

Estimate Credit Cost

socialcrawl_estimate
Read-onlyIdempotent

Exact credits before you spend: one call (id, platform+resource or path, plus the params you will send; calls for a job total; items for a walk) or a plan of several calls. Uses the API's estimator when available, else the bundled pricing. Free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "socialcrawl_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo'platform/resource'; a platform slug for its price table; none for the overview.
bodyNoPOST body, for batch endpoints.
planNoSeveral calls to total, instead of id.
callsNoNumber of such calls (an array is read as plan).
itemsNoRows wanted (prices a walk).
methodNo
paramsNoThe exact params you will send.

Output Schema

NameRequiredDescriptionDefault
okYes
fixNo
codeNo
planNo
quoteNohold, min/max, calls, total_hold; valid/rejection from the API.
reasonNo
sourceNo
warningsNo
retryableNoNever retry a 402.
did_you_meanNo
retry_after_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / calls / description
      Previous value: -"Number of such calls."New value: +"Number of such calls (an array is read as plan)."
    • changedOutput schema / properties / source / enum
      Previous value: -[
      -  "api",
      -  "local"
      -]New value: +[
      +  "api",
      +  "api+walk",
      +  "local"
      +]
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds genuinely new behavior: pricing comes from the API's estimator when available and falls back to bundled pricing otherwise, which tells the agent why results might differ in provenance, and that the call itself is free (no credits consumed). It stops short of stating accuracy caveats or error behavior for unknown ids.

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?

Two dense sentences with the payoff ('Exact credits', 'Free') placed at the edges where they are seen first. The nested parenthetical of modes is efficient but telegraphic, forcing a second read to parse the 'id, platform+resource or path' fragment.

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?

An output schema exists, so return-value description is correctly omitted, and the description covers both input modes plus pricing provenance for a 7-parameter nested tool. Remaining gaps are minor: the 50-item plan cap and behavior on an invalid id are only visible in the schema.

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 86%, so the schema already carries most parameter meaning. The description does add interpretation the schema lacks — 'calls for a job total' and 'items for a walk' clarify how the two numeric knobs interact with job-style versus walk-style endpoints, but terms like 'walk' and 'path' are left undefined for a caller unfamiliar with the domain.

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 leads with a specific verb and resource: 'Exact credits before you spend', making clear this is a pre-flight cost estimator rather than a data-fetching tool. It distinguishes the two shapes (a single call vs. a plan of several calls) but never names a sibling to contrast with, leaving differentiation from socialcrawl_request or socialcrawl_collect implicit.

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?

'before you spend' implies the moment of use, and the two modes (one call vs. plan) hint at when each applies. However there is no explicit when-not guidance, no statement of what to do with the estimate afterwards, and no named alternative for actually executing the call.

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.