Skip to main content
Glama
XCP
by XCP

get_dispenses

Read-only

Fetch dispense records (purchases) for a dispenser using its transaction hash. Supports pagination and result limits for efficient querying.

Instructions

Get dispense records (purchases) for a specific dispenser

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hashYesDispenser transaction hash
limitNoNumber of results to return
cursorNoPagination cursor from previous response
offsetNoNumber of results to skip
Behavior3/5

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

Annotations already indicate this is a safe read operation (readOnlyHint=true, destructiveHint=false). The description adds the clarification that 'dispense records' are 'purchases', which is useful domain context, but it does not describe pagination behavior, return format, or other operational details beyond what annotations and schema provide.

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 a single, concise sentence that immediately conveys the tool's purpose. It contains no unnecessary words and is front-loaded with the action and object.

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 simple read tool with good annotations and full schema coverage, the description is minimally adequate. It explains what is returned (dispense records/purchases) but does not mention pagination or how it differs from other dispenser-related tools. There is no output schema, so some return detail could be expected, but the description is sufficient for an agent to select the tool.

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 all parameters are documented. The description does not add meaning beyond the schema, except to associate 'specific dispenser' with the 'hash' parameter. Baseline 3 is appropriate as the schema carries the parameter semantics.

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 the tool gets dispense records (purchases) for a specific dispenser, using a specific verb ('Get') and resource ('dispense records'). It differentiates from the similar sibling get_dispenser by clarifying this is about purchase records, not dispenser details.

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?

The phrase 'for a specific dispenser' implies the tool requires a dispenser identifier and is distinct from listing all dispensers, but it does not explicitly mention alternative tools like get_dispensers or when not to use this tool. The usage context is implied rather than explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/XCP/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server