Skip to main content
Glama

Smartrr MCP by usefulapi

Get subscription history

smartrr_get_subscription_events
Read-only

The 250 most recent events on a subscription (pause, skip, cancel, activate, billing attempts and failures, line-item and address changes, discounts) with who did it. GET /vendor/purchase-state/{shopifySubscriptionId}/events.

Input Schema

NameRequiredDescriptionDefault
shopify_subscription_idYesThe subscription's Shopify id (`shopifyId` in smartrr_list_subscriptions).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description still adds real value beyond them: a hard cap of the 250 most recent events (with the implication that older events are unreachable and no pagination exists) and the fact that each event records the actor ("who did it").

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 dense sentences with zero filler; the scope (250 most recent events) and the event taxonomy are front-loaded, and the endpoint tail is a compact locator. Nothing could be removed without losing information.

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 no output schema, the description carries the burden of describing returns, and it does reasonably well by enumerating event types and noting the actor field. It stops short of stating the response shape, ordering, or confirming there is no pagination cursor beyond the 250 cap.

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?

Only one parameter, and the input schema already documents it fully (100% coverage) including the cross-reference to `shopifyId` from smartrr_list_subscriptions. The description adds no further semantics about the id, so the schema does all the work.

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+resource (events on a subscription), enumerates the concrete event types covered (pause, skip, cancel, activate, billing attempts/failures, line-item and address changes, discounts), and anchors it to an endpoint. This clearly separates it from siblings like smartrr_get_subscription_bills or smartrr_get_subscription, which return state rather than history.

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 event list implies when the tool is useful (auditing history, tracing who changed what), but there is no explicit when-to-use or when-not-to-use guidance and no named alternative such as smartrr_get_bill_history for billing-specific detail. Usage must be inferred from the enumerated event categories.

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.