Skip to main content
Glama
SubscriptionTech

ProAbono MCP Installation

Official

Set the quantity of a Limitation Feature (write)

set_feature_current_quantity

Set a customer's limitation feature quantity to an absolute value, replacing the current amount with the provisioned seats, projects, or users for accurate billing.

Instructions

WRITE. Sets the current quantity of a Limitation Feature of a customer to an absolute value -- seats, projects, users. Send the quantity the application has provisioned, the seats bought and not the seats occupied: that is what ProAbono bills on. The value is absolute, so sending it twice is harmless, which is why this write takes no increment. Limitation Features only; use add_feature_consumption for a metered Feature and set_feature_enabled for an OnOff one. Quote it first with quote_usage_change when it is billable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.
quantity_currentYesThe absolute quantity now provisioned. Replaces the current value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.1

TDQS

A4.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 of behavioral disclosure. It clearly marks the operation as 'WRITE,' explains idempotency ('sending it twice is harmless'), and clarifies the billing semantics (provisioned seats, not occupied). It does not cover permissions or side effects beyond setting the value, but the provided context is substantial for a mutation tool.

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?

The description is front-loaded with 'WRITE' and a concise purpose statement, then efficiently guides the value to send, idempotency, alternatives, and a prerequisite. Each sentence adds distinct information without repetition or filler, making it appropriately sized for the tool's complexity.

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 mutation tool with no output schema and no annotations, the description covers purpose, usage rules, key parameter semantics, and relevant alternatives. It omits details like error handling or return values, but these are not essential given the lack of an output schema and the clarity of the operation. The description is sufficient for an agent to invoke the tool correctly.

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 100%, so the baseline is 3. The description adds meaningful value beyond the schema by clarifying the crucial semantic of quantity_current: send the number of provisioned seats, not occupied, because that is what ProAbono bills on. It also explains why no increment parameter exists, helping the agent understand the absolute-value contract.

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 clearly states a specific verb and resource: 'Sets the current quantity of a Limitation Feature of a customer to an absolute value,' with concrete examples (seats, projects, users). It also explicitly distinguishes itself from add_feature_consumption and set_feature_enabled, making sibling differentiation unambiguous.

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 gives explicit when-to-use guidance ('Limitation Features only') and names exact alternatives for other feature types ('use add_feature_consumption for a metered Feature and set_feature_enabled for an OnOff one'). It also instructs to call quote_usage_change first for billable features, leaving no room for incorrect selection.

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