Skip to main content
Glama

Get credits link

get_credits_link
Read-onlyIdempotent

Return the link to the page where the user can buy credit packs. Creating the link does not start a payment. Packs: "credits_1000" 1000 credits for $10.00; "credits_5250" 5250 credits for $50.00; "credits_11000" 11000 credits for $100.00; "credits_28750" 28750 credits for $250.00. Pack names by base credits are accepted too: "1000" = "credits_1000", "5000" = "credits_5250", "11000" = "credits_11000", "27500" = "credits_28750"; "62500" ($500) is not offered here, the link then lets the user choose.

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": "get_credits_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
productNoPack to highlight; omit to let the user choose.
skills_usedNoOptional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 closed-world scope, so the safety profile is covered. The description still adds genuinely new behavioral context by clarifying that generating the link does not initiate a payment, and by explaining that for the $500 tier the link falls back to a chooser instead of a specific pack.

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 purpose and the no-payment caveat, then the pack table. The pack/price listing is long but every entry maps directly to an accepted input value, so it earns its place; the alias sentence is dense but necessary.

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 two-optional-param, no-output-schema tool, the description covers what is returned (a link), what is not triggered (payment), and every accepted product value. Only minor gaps remain — nothing about link lifetime/reuse or the purpose of skills_used beyond what the schema already states.

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 schema already provides the enum and the 'omit to let the user choose' semantics. The description nonetheless adds real meaning the enum cannot: dollar prices per pack and the non-obvious alias mapping ('5000' = 'credits_5250', '27500' = 'credits_28750'), which would otherwise be a trap for an agent guessing values. It says nothing about skills_used, leaving that entirely to the schema.

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 first sentence states a specific verb and resource — returning a link to the page where the user buys credit packs — which an agent can immediately distinguish from a balance-reading tool like get_credits_balance. The follow-up clarifies the effect scope ('Creating the link does not start a payment'), so the intent is unambiguous.

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?

Usage is implied rather than stated: the description makes clear the tool produces a purchase link, but it does not explicitly say when to prefer it over siblings (e.g. use get_credits_balance to check balance, this tool to top up). No exclusions or preconditions are given.

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.