Skip to main content
Glama

What you have bought

purchases_mine

Requires a JWT or an rk_ key. Your paid unlocks, passes (period_end) and run packs (runs_left).

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
purchasesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +false
    • addedOutput schema / properties
      Added value: +{
      +  "purchases": {
      +    "items": {
      +      "properties": {
      +        "amount_cents": {
      +          "type": "integer"
      +        },
      +        "amount_sol": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "paid_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "period_end": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "product": {
      +          "description": "{id, kind, ref, title, model, price_cents, price, runs_per_pack, active, checkout_url}",
      +          "type": "object"
      +        },
      +        "rail": {
      +          "type": "string"
      +        },
      +        "runs_left": {
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "product",
      +        "status",
      +        "rail",
      +        "amount_cents"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "purchases"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  3. Added

TDQS

A3.7/5.0
Behavior3/5

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

It adds the concrete requirement for a JWT or an rk_ key, which is useful context absent from the annotations. Beyond that, it provides little operational detail and does not explicitly clarify side-effect behavior even though readOnlyHint is false, though there is no direct contradiction.

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 compact fragments front-load authentication and then enumerate exactly what is included. The field-name hints add precision without filler or repetition.

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 zero-argument tool with an output schema, the credential requirement, resource scope, and key field hints are nearly sufficient for correct selection and invocation. Explicit sibling differentiation and clearer read behavior would make it more complete.

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 no parameters, so no input documentation is needed and the zero-parameter baseline applies. The period_end and runs_left parentheticals usefully clarify returned concepts rather than inputs.

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 identifies the resource as the caller’s paid unlocks, passes, and run packs, making the purchase-inventory purpose clear despite the lack of an explicit retrieval verb. It does not distinguish this view from subscription_status or free_tier_status.

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 authentication prerequisite and resource scope imply using the tool to inspect one’s own purchases, but there is no explicit when-to-use statement. It also does not explain when a sibling such as subscription_status or free_tier_status would be more appropriate.

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.