Skip to main content
Glama
SubscriptionTech

ProAbono MCP Installation

Official

Price a Usage change before applying it

quote_usage_change

Estimate the cost of a usage change before applying it. Check if the change is allowed and get current charges plus next-term recurring cost, then show the amount to the customer for confirmation.

Instructions

Prices an intended Usage change without applying it, and checks that it is allowed: what the customer would be charged now, and, with next_term, what their recurring cost would become. Read-only -- nothing is written. Call it before add_feature_consumption, set_feature_current_quantity or set_feature_enabled whenever the change is billable, and show the amount to the end customer for confirmation before the write. Pass exactly one of increment, quantity_current or is_enabled, matching the Feature's type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
incrementNoQuantity that would be added, for a Consumption or Limitation Feature.
next_termNoAlso return the estimated recurring cost for the next billing period.
date_stampNoWhen the change happened, ISO 8601 in UTC. Defaults to now. A future date is not supported.
is_enabledNoState it would be set to, for an OnOff Feature.
feature_refYesShared reference of the Feature (ReferenceFeature).
customer_refYesShared reference of the customer.
subscription_idNoWhich subscription the Usage belongs to. Needed when the customer has several running.
quantity_currentNoAbsolute quantity it would be set to, for a Limitation Feature.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.1

TDQS

A5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so well. It explicitly states 'Read-only -- nothing is written,' discloses that the tool validates whether the change is allowed, and explains what results the caller can expect: immediate charge and, with next_term, recurring cost.

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 sentences carry a complete mental model: what the tool does, its side-effect profile, the intended call flow, and the selection rule for params. Every sentence earns its place and the most important fact, 'nothing is written,' is front-loaded.

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

Completeness5/5

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

For an 8-parameter tool with no output schema and no annotations, the description is unusually complete. It covers the operation, the return semantics, the call ordering relative to sibling writes, and the parameter selection rule. The schema handles per-parameter details, so nothing essential is missing.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful semantic value beyond the schema: it specifies that exactly one of increment, quantity_current, or is_enabled must be passed, and that it must match the Feature's type. This mutual-exclusivity rule is not encoded in the schema itself.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Prices'), a clear resource ('an intended Usage change'), and a critical qualifier ('without applying it'). It also distinguishes itself from the write siblings it names, so an agent can tell quote_usage_change from add_feature_consumption, set_feature_current_quantity, and set_feature_enabled without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says when to call it: before the three billable write operations, and to show the quoted amount to the customer for confirmation before the write. It also names the alternatives and frames this tool as the read-only pre-write step, giving clear routing guidance.

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