Skip to main content
Glama

get_payment_link

One of your payment links by id or slug. Needs an access token with mcp:read.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "accessToken": "<accessToken>"
    },
    "name": "get_payment_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoPayment link id (uuid)
slugNoPayment link slug
accessTokenYesYour Studio access token (sgl_pat_*). Can be omitted when the connection sends Authorization: Bearer sgl_pat_*

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the required mcp:read scope, which is genuinely useful behavioral context. It says nothing about the result of a missing or invalid id/slug, error behavior, or whether the link is returned in full.

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?

Two tight sentences with no filler, and the resource/selector information comes first. The opening is a sentence fragment, which slightly weakens the front-loaded clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple single-record read with a fully documented three-parameter schema, the definition is adequate on inputs and auth. It leaves the return shape unspecified and, with no output schema present, some statement of what a successful lookup yields would have closed the gap.

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?

Schema coverage is 100%, so the baseline is 3; each parameter already documents itself. The description adds only the id-or-slug alternative and the read scope, without format, precedence, or behavior when both are supplied.

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?

"One of your payment links by id or slug" combined with the verb in the name clearly identifies a single-resource fetch, and "One of your" implicitly distinguishes it from list_payment_links. It stops short of a stated verb, so the reading relies partly on the tool name.

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 id-or-slug phrasing implies use when you already have an identifier rather than browsing, but there is no explicit "use list_payment_links to enumerate" exclusion. The auth scope note gives a real prerequisite, which is the strongest usage signal present.

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