Skip to main content
Glama

Northlight Yoga

subscribe_membership

Idempotent

Optional signed-in member operation (OAuth scope memberships:write, requires Poppy operations v3 approver="user"). Use it to start a pack or membership from list_memberships for the member; no payment is taken. Required fields: plan_id (plan_5pack|plan_monthly|plan_founding). Example: {"plan_id":"plan_monthly"}. Returns { subscribed: true, account_id, subscription }.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "plan_id": "<plan_id>"
    },
    "name": "subscribe_membership"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idYesthe plan, from list_memberships

Output Schema

NameRequiredDescriptionDefault
account_idNo
subscribedYes
subscriptionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, openWorldHint=false), the description discloses the required auth scope, the approval prerequisite, and the important fact that no payment is taken. The return-shape sentence overlaps the existing output schema, so it adds less than the auth and payment details do.

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?

It is a compact, front-loaded block that leads with the optional/auth framing before the usage instruction and example. The trailing return-value sentence is the one piece that could be dropped given the output schema.

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?

For a one-parameter mutation with full schema coverage and an output schema, the description covers auth, approval prerequisites, payment behavior, and the source of valid plans. What it leaves out—behavior when the member is already subscribed or how errors surface—is partially implied by idempotentHint but not spelled out.

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 coverage is 100% and the single `plan_id` parameter already carries an enum, an example, and the note that plans come from `list_memberships`. The description restates the same required field, enum values, and example, adding no new semantics beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action and resource: start a pack or membership for the signed-in member using a plan from `list_memberships`, with the explicit note that no payment is taken. It is clear enough to separate from listing siblings like `list_memberships`, though it never contrasts itself with the booking-path siblings such as `book_with_membership`.

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?

It gives a concrete when-to-use condition (optional signed-in member operation, starting a pack or membership) plus prerequisites: OAuth scope `memberships:write` and Poppy operations v3 `approver="user"`. It stops short of naming when-not-to-use or which alternative to pick if the member already has a plan.

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