Skip to main content
Glama

gymflexa

Get gym payment summary

get_gym_payment_summary
Read-onlyIdempotent

Summarize recorded payment counts, status counts, and amount totals by currency for one tenant-owned GymFlexa gym over at most 31 days. It is read-only and cannot charge, refund, retry, settle, transfer, or move funds. It excludes payment/member ids, processor or card data, contacts, notes, discounts, decline reasons, services, and individual transactions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gymIdYesOwned GymFlexa gym id
endTimeNoRange end as an ISO 8601 value; defaults to seven days later
startTimeNoRange start as an ISO 8601 value; defaults to now

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rangeYes
totalsYes
statusesYes
recordCountYes
totalsArePartialYes
recordCountIsLowerBoundYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description goes further by explicitly stating it 'cannot charge, refund, retry, settle, transfer, or move funds' and lists what data it excludes. This adds meaningful behavioral context beyond the annotations, covering non-mutating constraints and scope boundaries. It does not mention rate limits or auth, but those are not critical for this type of tool. The description adds value without contradicting annotations.

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?

Two sentences with zero waste. The first sentence states the primary purpose and the range limit; the second lists exclusions and non-capabilities. Information is front-loaded and every word earns its place. The structure is optimal for an agent to quickly grasp scope.

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?

The tool has an output schema, so return format is covered elsewhere. The description covers purpose, constraints, exclusions, and non-capabilities. It does not explicitly mention error handling or auth requirements, but for a read-only summary tool with strong annotations and output schema, this is adequate. A 4 reflects that it's thorough but could include explicit 'use when...' guidance to tie into usage guidelines.

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 description coverage is 100%, so the schema already documents gymId, endTime, and startTime with clear descriptions. The description adds the 'at most 31 days' range constraint, which is not in the schema and directly affects parameter usage. It also reinforces that the gym must be owned by the tenant. These additions give the agent useful context beyond the schema, so a 4 is appropriate.

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 names a specific verb ('Summarize') and resource ('recorded payment counts, status counts, and amount totals by currency') for one tenant-owned GymFlexa gym. It clearly distinguishes itself from sibling tools like get_gym_schedule_summary and show_gym_overview by explicitly listing exclusions (payment ids, processor data, etc.). The purpose is unambiguous and specific.

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

Usage Guidelines4/5

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

The description provides clear context on what the tool does and its constraints (read-only, at most 31 days, excludes sensitive data). It implicitly tells when to use it (when a payment summary is needed) but does not explicitly name alternatives or state 'use X instead of Y'. The exclusions hint at boundaries, but there's no direct guidance on choosing between this and get_gym_schedule_summary or show_gym_overview. This is a minor gap, so a 4 is warranted.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources