Skip to main content
Glama

cost_per_request

Calculates total cost per delivered request for fixed bids, salaried hires, or flat subscriptions using rate, duration, and expected request volume.

Instructions

Price one way of paying for software work as total cost per delivered request. mode: bid (one-time fixed price), salary (monthly cost of a hire, fully loaded), or flat (monthly subscription fee). months is how long the work stays alive; requests is how many discrete work items you expect to submit.

Input Schema

NameRequiredDescriptionDefault
modeYes
nameNolabel for the lane
rateYesdollars: bid total, monthly salary, or monthly fee
monthsYes
requestsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It implies a pure calculation with no side effects but never states that explicitly, and it doesn't disclose the return shape (e.g., whether it returns just the per-request figure or also totals). It does add useful unit context ('dollars', 'fully loaded').

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?

Three tight sentences, front-loaded with the core computation and then the input semantics in the order the schema requires. No filler or repetition.

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 small arithmetic tool with no output schema, the definition covers inputs well, but it never says what exactly comes back (a single number? a breakdown?) nor how it relates to compare_lanes. The output phrase is descriptive prose rather than a promise about the response.

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

Parameters4/5

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

Schema coverage is only 40%, but the description compensates by defining mode values and clarifying 'months' ('how long the work stays alive') and 'requests' ('discrete work items you expect to submit'). 'rate' and 'name' are covered by the schema; the split leaves nothing undocumented between the two sources.

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?

States a specific computation ('price one way of paying for software work as total cost per delivered request') with a clear verb and output quantity. It doesn't reference the sibling compare_lanes, so an agent must infer the distinction (single-lane pricing vs. comparison) from name alone.

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?

The mode enumeration effectively tells the agent which pricing scenario each value covers, and 'months'/'requests' are explained. However, there is no guidance on when to pick this tool over compare_lanes, nor any stated prerequisites or typical workflow position.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools