Skip to main content
Glama
brilliantdirectories

brilliant-directories-mcp

Official

getUserSubscriptions

Read-onlyIdempotent

Fetch a member's subscription and membership-plan history, including current plan, billing cycle, next due date, upgrades, auto-renewal, and cancellations. Read-only.

Instructions

Get member subscriptions (membership plan history) - Fetch the subscription / membership-plan history for a specific member. Read-only. Backed by the WHMCS billing integration.

Required: exactly one of user_id (standard — the BD member ID) OR client_id (power-user — the WHMCS billing record ID stored on the user as users_data.clientid). Default to user_id; reach for client_id only when you already have one in hand and want to bypass the user lookup.

Use when: checking a member's current membership plan, their billing cycle (Monthly/Yearly), next due date, plan upgrade history, whether auto-renewal is on, or past canceled subscriptions.

See also: getUserTransactions (invoice-level billing records - different resource), getUser (member profile - profile-level subscription references subscription_id), listMembershipPlans (all plan definitions on the site).

Returns: { status: "success", message: { total: <count>, subscriptions: [{...subscription records}] } }. Each subscription includes id, userid, packageid (membership plan ID), regdate, nextduedate, billingcycle (e.g. Monthly, Yearly), paymentmethod, amount, domainstatus (Active, Cancelled, etc.), and related fields. NOT a simple list of rows - the message is an object containing subscriptions as the array.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idNoMember ID (the standard input). Pass this OR `client_id`.
client_idNoWHMCS billing record ID. Power-user alternative to `user_id`. Pass this OR `user_id`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv6.55.39
  2. Removedv6.55.19
  3. Addedv6.49.4
  4. Removedv6.48.1
  5. Addedv6.0.19
  6. Removedv6.0.18
  7. Addedv6.0.7
  8. Removed
  9. First observedv1.0.0

TDQS

A4.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds the WHMCS billing backing and, unlike a bare read tool, fully describes the actual response payload (nested `message` object, `subscriptions` array, and field meanings like `domainstatus` values). It stops short of error behavior, pagination, or rate-limit context, so it does not reach a 5.

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?

Long but deliberately structured with bold section labels and front-loaded purpose; each block (Required, Use when, See also, Returns) earns its place by answering a distinct invocation question. No filler or repetition despite the length.

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?

With no output schema, the description supplies the full return contract including the non-obvious nested `message` shape; annotations cover the safety profile; both parameters and their selection rule are documented; and the sibling landscape is mapped. Nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, yet the description still adds substantial semantics: it identifies user_id as the standard BD member ID and client_id as the WHMCS billing record ID stored as `users_data.clientid`, explains why to prefer user_id, and warns that exactly one must be passed (the schema itself marks nothing as required). This meaningfully exceeds the schema text.

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 ('Get member subscriptions - Fetch the subscription / membership-plan history for a specific member') and explicitly distinguishes itself from the nearest siblings by naming what each covers: getUserTransactions is invoice-level, getUser is profile-level, listMembershipPlans is plan definitions. An agent can route without opening any schema.

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?

Provides an explicit 'Use when' clause (current plan, billing cycle, next due date, upgrade history, auto-renewal, past cancellations) and a 'See also' set of alternatives with the condition that separates each. It also states the required-one-of constraint between user_id and client_id and gives a default ('Default to user_id'), which is invocation-critical guidance.

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

Deploy Server

Other Tools