Skip to main content
Glama

Sync an organization's plan from Stripe

admin_sync_subscription
DestructiveIdempotent

Internal staff only. Brings an organization's plan to what Stripe bills it for: lists the subscriptions of the Stripe customer the organization holds and writes each one's row exactly as a Stripe subscription event would. Use it when an organization paid for Enterprise (or Flex) in Stripe but still reads Pay as you go. A subscription on a price that maps to no plan writes nothing, and the answer names it. Call it without confirm first, put the sentence it answers with to the person, and call again with confirm: true only when they agree.

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": {
      "organization": "<organization>",
      "confirm": "<confirm>"
    },
    "name": "admin_sync_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYestrue only once the person has agreed to the sentence the unconfirmed call answered with.
organizationYesThe organization's id or slug, as admin_find_organization returned it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds genuinely new context: it is internal-staff-only, the write overwrites plan rows to mirror Stripe, a price mapping to no plan writes nothing, and the call is designed as a two-step dry-run-then-confirm flow. It does not detail rollback or permission requirements beyond the staff note.

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 critical constraint ('Internal staff only') and then the mechanism, trigger, edge case, and procedure in order. Roughly four sentences with little waste, though the confirm workflow partly duplicates the schema's confirm description.

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 destructive, confirm-gated mutation with no output schema, the description covers trigger, mechanism, no-op behavior, staff restriction, and the required two-call interaction. What the call returns is described qualitatively ('the answer names it'), so nothing essential to correct invocation is missing, though outcome details remain thin.

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 both parameters are documented, including confirm's meaning, which the description largely restates. The description adds the procedural nuance that the unconfirmed call returns a sentence to present to the person, which enriches confirm's semantics slightly, but organization gets no added meaning. Baseline 3 with mild uplift.

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?

Specific verb+resource: it states exactly what it does to an organization's plan ('Brings an organization's plan to what Stripe bills it for') and even describes the mechanism (lists the Stripe customer's subscriptions and writes each row as a subscription event would). This is clearly distinguishable from admin_get_organization and admin_get_contract, which read rather than reconcile.

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 an explicit trigger condition ('Use it when an organization paid for Enterprise (or Flex) in Stripe but still reads Pay as you go') and a precise operating procedure (call without confirm first, show the sentence, then confirm). No sibling alternatives are named, and the no-op case is stated as a condition rather than a when-not-to-use rule, so it falls short of a full 5.

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