Skip to main content
Glama

StudioVector: Chat with your Mindbody

Active memberships

membership_summary
Read-onlyIdempotent

Active memberships at one site today: how many clients are members, how many hold each membership (names from get_memberships), memberships nobody holds, and how many current memberships became active in the range (startedInRange, a substitute for "new members": memberships that have since ended are not seen). A snapshot of today, with no comparison or past date. Every active profile is read; above 10000 a call returns their count and credits until confirmLargeRead is true. For new clients and first visits use new_clients_summary; for members who may not renew use clients_at_risk; for revenue use sales_summary. Mindbody calls: 1 per 200 active client profiles, 1 per 200 active clients for memberships and 1 for membership names (at most 1001).

Input Schema

NameRequiredDescriptionDefault
topNoRows in byMembership, 1-25 (default 10); the rest is folded into one row.
rangeNoWindow for startedInRange, ending today (default last_30_days). Every other count is as of today.
siteIdNoSite to call (SiteId header). Default -99.
endDateNoLast day for startedInRange, inclusive (default today). At most 366 days after startDate.
startDateNoFirst day for startedInRange, e.g. 2026-09-01. Default: 30 days ending endDate.
nameContainsNoCount only memberships whose name contains this, e.g. "kids".
membershipIdsNoCount only these memberships (at most 100).
confirmLargeReadNoRead every profile of a large site (default false: return their count and credits first).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations cover the safe-read profile, and the description goes well beyond by disclosing the large-read guardrail (>10000 profiles returns counts and credits until confirmLargeRead is true), the API call budget (1 per 200 profiles, 1 per 200 clients, at most 1001), and the important caveat that startedInRange misses memberships that have since ended. These are exactly the operational facts 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose and outputs, then alternatives, then cost, in a sensible order; there is essentially no filler. It is a single dense paragraph, so the alternative routing and the call-budget sentence are somewhat buried rather than visually separated.

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?

With eight optional parameters, no output schema, and an open-world read, the description supplies the output categories, the large-read behavior, and the temporal semantics that the schema alone cannot. The exact return shape (e.g. field names beyond byMembership and startedInRange) is only partly implied, which keeps it short of perfect.

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, but the description adds interpretive meaning the schema does not: the range/startDate/endDate window applies only to startedInRange while all other counts are as-of-today, and startedInRange is framed as a substitute for 'new members' with a known blind spot. It does not add much on top/top folding or membershipIds beyond the schema wording.

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 a specific verb and resource with scope: 'Active memberships at one site today', then enumerates the four outputs (member count, count per membership, unheld memberships, startedInRange). This is clearly distinguishable from get_memberships (name lookup) and the other summary siblings.

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?

Names three alternatives with the condition that selects each: new_clients_summary for new clients/first visits, clients_at_risk for non-renewal, sales_summary for revenue. It also states an exclusion up front ('A snapshot of today, with no comparison or past date'), so the agent knows not to reach for it for trend questions.

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