Skip to main content
Glama

Set a Customer’s Pricing Tier, Currency and Price (operator only)

li_set_team_billing
Destructive

OPERATOR ONLY. Reads or sets how a CUSTOMER (team) is billed — the same control as the Billing column on the dashboard's Users & access page. One subscription per team, priced per LinkedIn account (seat). Name the team by teamId or the email of anyone in it. pricingTier 'founding' or 'standard' and billingCurrency 'INR' (default) or 'USD' pick the plan the team checks out on — INR through Razorpay, USD through PayPal once PayPal is set up; a tier/currency whose plan is not set up is refused at checkout, never charged another price or currency. The currency cannot change while the team's subscription has not ended (cancel it first). razorpayPlanId sets a negotiated plan that wins over the tier's plan — a Razorpay plan_… or a PayPal P-… (its prefix picks the processor); null clears it. The id is checked with that processor when it is set up. Changes apply to the NEXT checkout only — a live subscription keeps its price. Omit all three to read the current settings. The tier NEW teams start on is li_set_default_pricing_tier.

Input Schema

NameRequiredDescriptionDefault
emailNoThe sign-in email of anyone in the team
teamIdNoTeam id (or use email)
pricingTierNo'founding' or 'standard' — the plan the team checks out on next
razorpayPlanIdNoA Razorpay (plan_…) or PayPal (P-…) plan id, or null to use the currency’s standard plan
billingCurrencyNo'INR' (Razorpay) or 'USD' (PayPal); cannot change while a subscription is live

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / billingCurrency / description
      Added value: +"'INR' (Razorpay) or 'USD' (PayPal); cannot change while a subscription is live"
    • addedInput schema / properties / pricingTier / description
      Added value: +"'founding' or 'standard' — the plan the team checks out on next"
    • addedInput schema / properties / teamId / description
      Added value: +"Team id (or use email)"
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Well beyond the destructiveHint/openWorldHint annotations, it discloses that changes apply only to the NEXT checkout, that a live subscription keeps its price, that currency can't change while a subscription is live, that an unconfigured plan is refused at checkout, and that the plan id is validated against its processor. These are exactly the behavioral facts an agent needs for a billing mutation.

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-loads OPERATOR ONLY and the core purpose, then layers constraints efficiently. It is dense and sentence-heavy, but nearly every clause carries a distinct constraint (checkout timing, currency lock, processor validation); a minor trim would not lose information.

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?

For a 5-param, zero-required mutation tool with no output schema, it covers the read mode, safety caveats, precedence rules, and dependencies (PayPal setup, live-subscription lock) needed to invoke correctly. Nothing material is left for the agent to infer.

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 cross-parameter meaning: razorpayPlanId overrides the tier's plan, its prefix selects the processor, null clears it, and INR is the default the schema only lists as an enum. That is genuine value above the schema, though the individual field semantics largely duplicate it.

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 precise verb+resource: reads or sets how a customer (team) is billed, priced per seat. It even maps the abstraction to a concrete UI location (the Billing column) and distinguishes the case from li_set_default_pricing_tier, so an agent can tell it apart from siblings without opening a 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?

Gives explicit conditions: OPERATOR ONLY, target a team via teamId or any member's email, and omit all three writable params to read current settings. It names the alternative that governs NEW teams (li_set_default_pricing_tier) and states the checkout-time restriction, so the when-to-use picture is complete.

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