Skip to main content
Glama

Get subscription management URL

amber_manage_subscription
Read-onlyIdempotent

Returns a PayPal self-service link and next billing date so users can update payment methods, view billing history, or check subscription details without changing the subscription.

Instructions

Return a PayPal URL the user can open to manage their subscription (update payment method, view billing history, change payment source) and the next billing date. Use this when the user asks about billing, wants to change their payment method, or wants to view their subscription details.

Unlike amber_cancel_subscription (which cancels) or amber_reactivate_subscription (which creates a new subscription), this tool only provides a link to PayPal's self-service page -- no changes are made by calling it.

The URL opens PayPal's subscription management page -- Amber does not handle payment details directly. Returns code: no_subscription if the account has no subscription on record (use amber_reactivate_subscription to start one). Read-only -- does not modify the subscription. Not rate-limited.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "amber_manage_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
messageYesA human-readable summary of what the user will find at that link.
manage_urlYesA PayPal page where the user changes or cancels billing themselves. Relay it; Amber cannot act on their behalf there.
next_billing_dateYesWhen subscription_active is true, this is the next charge date. When false and in the future, the user has access until this date but no subscription. Null if unknown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.1.6
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "manage_url": {
      +      "description": "A PayPal page where the user changes or cancels billing themselves. Relay it; Amber cannot act on their behalf there.",
      +      "type": "string"
      +    },
      +    "message": {
      +      "description": "A human-readable summary of what the user will find at that link.",
      +      "type": "string"
      +    },
      +    "next_billing_date": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "When subscription_active is true, this is the next charge date. When false and in the future, the user has access until this date but no subscription. Null if unknown."
      +    }
      +  },
      +  "required": [
      +    "manage_url",
      +    "next_billing_date",
      +    "message"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered; the description nonetheless adds real context beyond them: Amber never touches payment details, PayPal owns the self-service page, and a `code: no_subscription` result is possible. It loses a point for restating the read-only/no-side-effect property twice (once as 'no changes are made by calling it' and again as 'Read-only -- does not modify the subscription'), which duplicates what the annotations already say.

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?

Structure is good: purpose first, then when-to-use, then sibling differentiation, then failure/behavior notes. The only weakness is mild redundancy between 'no changes are made by calling it' and 'Read-only -- does not modify the subscription,' plus the standalone 'Not rate-limited' fragment, which could have been folded in.

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 an output schema present, the description does not need to document return values, yet it usefully names the two things returned (URL and next billing date) and documents the `no_subscription` error branch. For a zero-parameter read tool with rich annotations, nothing an agent needs in order to call it correctly is missing.

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?

There are zero input parameters, so there is no parameter meaning to add and the baseline is 4. The description correctly focuses on outcome (URL plus next billing date) rather than inventing parameter guidance that does not apply.

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?

The description opens with a specific verb and resource ('Return a PayPal URL... to manage their subscription') and enumerates the concrete actions enabled (update payment method, view billing history, change payment source). It then explicitly contrasts itself with `amber_cancel_subscription` and `amber_reactivate_subscription`, so an agent can disambiguate 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?

It gives an explicit trigger ('Use this when the user asks about billing, wants to change their payment method, or wants to view their subscription details') plus explicit when-not guidance via the two named sibling alternatives. It even routes the `no_subscription` failure case to `amber_reactivate_subscription`, which is exactly the kind of fallback routing an agent needs.

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