Skip to main content
Glama

stack_cost

Read-onlyIdempotent

Total cost of a set of tools. Each tool reports its cheapest monthly paid plan; a tool that publishes only an annual price returns that annual total as printed, never a monthly equivalent. Monthly and annual totals are separate fields.

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": {
      "domains": "<domains>"
    },
    "name": "stack_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds meaningful behavioral context about using each tool's cheapest monthly paid plan and preserving annual prices as printed rather than converting to monthly equivalents, though it omits edge cases such as missing tools or currency handling.

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?

The description is three compact sentences with the core definition front-loaded and no filler. The annual-price caveat earns its space, though the final sentence about separate fields could be slightly more precise.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only aggregation tool with no output schema, the description explains the key pricing rule and output split between monthly and annual totals. However, it leaves the required `domains` parameter entirely unexplained and does not describe the precise return fields or aggregation behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single required `domains` array. The description says 'set of tools' but never explains that the parameter is named `domains`, what values it expects, or the maximum of 40 items, so it does not compensate for the missing schema documentation.

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 states a clear resource and operation: computing the total cost of a set of tools. It is understandable without opening the schema, but it does not explicitly distinguish itself from siblings like get_pricing or search_tools.

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?

Usage is implied by 'a set of tools' and the aggregation of monthly/annual totals, but there is no explicit guidance on when to use stack_cost instead of get_pricing or another sibling, nor any stated prerequisites or exclusions.

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.