Skip to main content
Glama
SubscriptionTech

ProAbono MCP Installation

Official

Report consumption of a metered Feature (write)

push_usage_increment

Add an increment to a customer's Consumption Feature quantity for metered usage. Report only new consumption, not a running total, and avoid duplicate sends.

Instructions

WRITE. Adds an increment to the current quantity of a Consumption Feature of a customer -- the metered kind: messages sent, API calls made, gigabytes stored. Report what was just consumed, not a running total: the value is added to what ProAbono already holds. Consumption Features only; use push_usage_quantity for a Limitation Feature and push_usage_enabling for an OnOff one. A repeated call double-counts -- there is no absolute mode to fall back on for a metered event, so the caller is responsible for not sending the same consumption twice, including on a retry after a timeout. Quote it first with quote_usage_change when it is billable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
incrementYesQuantity consumed since the last report. Added to the current quantity.
date_stampNoWhen the change happened, ISO 8601 in UTC. Defaults to now. A future date is not supported.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.6/5.0
Behavior5/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 so well: it discloses the additive (non-idempotent) semantics, that a repeated call double-counts, that no absolute/idempotent fallback exists, and that retry-after-timeout is the caller's responsibility. That is exactly the behavioral risk an agent needs before invoking.

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?

Front-loaded with the operation type and core semantics, then alternatives, then the double-count warning and the quoting step. Dense but every sentence earns its place; no filler.

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?

For a 5-param mutation with no annotations and no output schema, the description covers when-to-use, sibling disambiguation and the critical idempotency caveat. It does not mention required permissions/auth or what the call returns, which are minor gaps but real for a write endpoint.

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 100%, so the increment, date_stamp, feature_ref, customer_ref and subscription_id parameters are already documented. The description reinforces the delta-vs-running-total meaning of increment and the notion that date is the consumption timestamp, but adds little that the schema does not already say. Baseline 3 applies.

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?

States the operation type ("WRITE"), the verb (adds an increment) and the exact resource (Consumption Feature quantity of a customer), with concrete examples (messages sent, API calls, gigabytes stored). It also explicitly names the sibling tools it is not (push_usage_quantity, push_usage_enabling), so an agent can select it without opening any schema.

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?

Explicitly routes the agent: consumption Features with this tool, Limitation Features with push_usage_quantity, OnOff with push_usage_enabling, and pre-quoting with quote_usage_change when billable. Conditions and alternatives are both stated, leaving nothing to inference.

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