Skip to main content
Glama

Read a customer's rights

get_usages

Retrieve a customer's current usages per feature from running subscriptions to gate access. If empty, verify subscriptions first before assuming no rights.

Instructions

Reads a customer's Usages: what that customer may do right now, as ProAbono sees it, one entry per Feature carried by their running subscriptions. Read-only. This is the source an application gates access on -- never the offer reference. An empty result is ambiguous: check the customer's subscriptions with list_subscriptions before concluding they have no rights.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feature_refNoRestrict to one Feature reference.
customer_refYesThe customer's shared reference.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A4.7/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 burden and handles it well. It discloses Read-only behavior, result granularity ('one entry per Feature'), the 'as ProAbono sees it' interpretive lens, and the important ambiguity of empty results.

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 compact, front-loaded with the core action, and every sentence adds value: purpose, semantics, and ambiguity handling. The em-dash aside is efficient rather than bloated.

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 a simple two-parameter read tool with no output schema, the description covers what the result means, how to interpret edge cases, and when to use an alternative. Nothing essential is missing for an agent to invoke it correctly.

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 schema already documents both parameters. The description does not add specific parameter-level guidance beyond what the schema provides, which meets the baseline for full schema coverage.

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 uses a specific verb and resource ('Reads a customer's Usages') and clarifies the concept as 'what that customer may do right now, as ProAbono sees it.' It clearly differentiates from siblings like list_subscriptions and get_offer by emphasizing that this is the authoritative source for gating access.

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?

It explicitly states when the tool is the right choice ('This is the source an application gates access on -- never the offer reference') and provides an alternative instruction for an ambiguous empty result: check list_subscriptions. This is direct, actionable guidance.

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