Skip to main content
Glama

mechacut

money_prorate

Prorate a cycle amount over a service window: prorated = amount * covered_days / cycle_days, exact fraction reported, rounding is the last step (half_up default), window clamped to the cycle. Paid route (x402 from first call).

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": {
      "amount": "<amount>",
      "cycle_start": "<cycle_start>",
      "cycle_end": "<cycle_end>",
      "service_start": "<service_start>",
      "service_end": "<service_end>"
    },
    "name": "money_prorate"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNohalf_up
clampNo
amountYesdecimal string
placesNo
cycle_endYes
inclusiveNo
cycle_startYes
service_endYes
service_startYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses rounding order (last step), the default mode (half_up), that the window is clamped to the cycle, and that a fee applies from the first call. It omits what the response contains, which matters since there is no output schema.

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?

Content is front-loaded into one dense, formula-first sentence with no filler. Density comes at a small cost: 'exact fraction reported' is terse enough to be ambiguous without further context.

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 9-parameter calculator with no annotations and no output schema, the description covers the core computation but leaves one parameter ('inclusive') undefined and never states what the result looks like. Adequate but with clear gaps.

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 only 11%, so the description must compensate. It explains amount, the cycle/service date pairs via cycle_days and covered_days, the rounding mode default, and clamp ('window clamped to the cycle'), but never explains the 'inclusive' flag or enumerates the rounding modes.

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 operation and resource ('prorate a cycle amount over a service window') and even supplies the exact formula, so the purpose is unambiguous. It does not distinguish itself from related money tools such as money_amortize or money_interest, which keeps it from a 5.

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 no explicit when-to-use vs when-to-use-an-alternative guidance. However, the 'Paid route (x402 from first call)' note gives the agent actionable cost context for deciding whether to invoke the tool at all.

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.