Skip to main content
Glama

Get a customer's full state

polar_get_customer_state
Read-only

Fetch everything about one customer in a single call — active subscriptions, granted benefits and entitlements. The best answer to 'what does this customer currently have?'. Polar: GET /v1/customers/{id}/state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customer_idYesThe customer's Polar id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered structurally. The description adds real behavioral context beyond that: this is an aggregation call that returns subscriptions, benefits and entitlements in one shot, which matters for planning. It stops short of describing response shape, size or any rate limits.

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 short sentences plus an endpoint reference, with the payload contents front-loaded before the value proposition. Every clause carries information; nothing is padding.

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 read tool with a readOnlyHint annotation, the essentials are present, and the description compensates for the missing output schema by naming what comes back. Minor gaps remain around pagination or response size, but an agent has enough to call this correctly.

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?

There is a single parameter and schema description coverage is 100%, so the schema already states that customer_id is the Polar id. The description adds nothing about the parameter (e.g. id format or where to obtain it), so the baseline 3 for schema-documented params applies.

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?

It uses a specific verb (Fetch) plus resource (customer) and enumerates what is returned: active subscriptions, granted benefits and entitlements. That is clearly distinguishable from list tools or polar_get_customer. It does not, however, differentiate itself from the sibling polar_get_customer_state_by_external_id, which is the one tool an agent could easily confuse it with.

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 best answer to what does this customer currently have?' implies a usage scenario, which is helpful framing. But there is no explicit when-not guidance and no routing to alternatives such as polar_get_customer (lighter lookup) or the by-external-id variant, so the agent must infer the choice.

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.