Skip to main content
Glama

AI Builder Marketplace: software pricing dossiers

estimate_cost

Read-onlyIdempotent

Cost of each plan at a team size (or companies/orders, per the product's axis) on monthly or annual billing: monthly equivalent, amount billed per period, commitment, minimums, add-ons and usage. Only for products with price rules; says so otherwise. Never guesses between published price steps: returns a range.

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

Input Schema

NameRequiredDescriptionDefault
unitsYesTeam size, or the product's own unit (companies, orders) as named in its price rules; a whole number of 1 or more.
usageNoMetered usage per month as {usage_id: quantity}, with ids from the product's price rules, e.g. {'sms': 500}.
addonsNoAdd-on ids from the product's price rules to include in the cost.
billingNoBilling term: 'monthly' or 'annual'.annual
plan_idNoPlan id from the plans field of get_product to price only that plan; leave empty for every plan.
product_idYesThe product's id, from the id field of a search_products result (e.g. 'toggl'). Only products with price rules (has_cost_rules) can be priced.
include_personalNotrue to also price plans meant for one person (personal or solo plans); false by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / addons / description
      Added value: +"Add-on ids from the product's price rules to include in the cost."
    • addedInput schema / properties / billing / description
      Added value: +"Billing term: 'monthly' or 'annual'."
    • addedInput schema / properties / billing / enum
      Added value: +[
      +  "monthly",
      +  "annual"
      +]
    • addedInput schema / properties / include_personal / description
      Added value: +"true to also price plans meant for one person (personal or solo plans); false by default."
    • addedInput schema / properties / plan_id / description
      Added value: +"Plan id from the plans field of get_product to price only that plan; leave empty for every plan."
    • addedInput schema / properties / product_id / description
      Added value: +"The product's id, from the id field of a search_products result (e.g. 'toggl'). Only products with price rules (has_cost_rules) can be priced."
    • addedInput schema / properties / units / description
      Added value: +"Team size, or the product's own unit (companies, orders) as named in its price rules; a whole number of 1 or more."
    • addedInput schema / properties / usage / description
      Added value: +"Metered usage per month as {usage_id: quantity}, with ids from the product's price rules, e.g. {'sms': 500}."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so safety needs no restating. The description adds genuine behavioral context: it enumerates the fields returned and states it 'Never guesses between published price steps: returns a range,' which is non-obvious output behavior. It stops short of describing the shape of that range or how per-plan results are keyed.

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?

Three dense sentences, front-loaded with the core computation and the output contents, then the precondition, then the range caveat. Nothing is redundant, though the second and third clauses are compressed to the point of being slightly cryptic ('says so otherwise').

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 carries the burden of explaining returns and does so by listing the priced components and the range-not-guess behavior. Combined with 100% schema coverage on seven parameters, an agent has enough to call it correctly; only the exact response structure and range format remain underspecified.

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%, so every parameter is already documented, including the units axis, usage map, add-ons, billing enum, and plan filter. The description's '(or companies/orders, per the product's axis)' paraphrases what the schema already says for units and adds no new syntax or edge-case guidance. 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?

The description names a specific computation ('Cost of each plan at a team size') and enumerates the returned components (monthly equivalent, amount billed per period, commitment, minimums, add-ons, usage). It is clearly a pricing-estimate tool, but it never names a sibling such as compare_offer_costs or cost_at_growth, so the boundary with those tools must be inferred.

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?

There is a real precondition stated: 'Only for products with price rules; says so otherwise,' which tells the agent when the call will fail to produce data. However, there is no guidance on when to pick this over the cost/offer comparison siblings, leaving the choice to inference from tool names.

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