Skip to main content
Glama

get_endpoint_details

Get full details for an endpoint you own, including credit balance, pricing config, and wallet address. PATs are preferred and require mcp:read or mcp:*.

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": {
      "slug": "<slug>"
    },
    "name": "get_endpoint_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe unique slug identifier for the endpoint
apiKeyNoLegacy endpoint API key (x402_*)
accessTokenNoYour dashboard MCP personal access token (sgl_pat_*). Can be omitted when the connection sends Authorization: Bearer sgl_pat_*

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / accessToken / description
      Previous value: -"Your dashboard MCP personal access token (sgl_pat_*)"New value: +"Your dashboard MCP personal access token (sgl_pat_*). Can be omitted when the connection sends Authorization: Bearer sgl_pat_*"
  2. Changed3 schema fields changed
    • addedInput schema / properties / accessToken
      Added value: +{
      +  "description": "Your dashboard MCP personal access token (sgl_pat_*)",
      +  "type": "string"
      +}
    • changedInput schema / properties / apiKey / description
      Previous value: -"Your endpoint API key (x402_*)"New value: +"Legacy endpoint API key (x402_*)"
    • changedInput schema / required
      Previous value: -[
      -  "slug",
      -  "apiKey"
      -]New value: +[
      +  "slug"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / apiKey / description
      Previous value: -"Your endpoint API key (sk_live_* or sk_test_*)"New value: +"Your endpoint API key (x402_*)"
  4. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses the ownership scope and the required auth scope, plus a credential preference (PAT over legacy key), but says nothing about what happens on unauthorized access, whether the response is cached, or how missing pricing config is represented.

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 sentences, zero filler, with the core purpose and the returned payload front-loaded before the auth note. Every clause carries information an agent needs.

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?

There is no output schema, and the description compensates by naming the main fields returned (credit balance, pricing, wallet address), which is enough for an agent to know what it will get back. Auth and ownership are covered, leaving only edge-case error behavior undocumented.

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 baseline is 3, and the description genuinely adds a selection rule the schema does not: PAT-based access is preferred over the legacy x402_* key. It does not elaborate on slug format or uniqueness expectations beyond the schema's own text.

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 gives a specific verb and resource ("Get full details for an endpoint") and enumerates the payload (credit balance, pricing config, wallet address), which distinguishes it from a stats-only sibling like get_endpoint_stats. It stops short of naming an alternative tool explicitly, so the differentiation is implicit rather than stated.

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?

It establishes a precondition ("an endpoint you own") and the auth requirement (mcp:read or mcp:*), which helps decide whether the call will succeed. However, it never says when to reach for this instead of the sibling endpoint tools, and gives no guidance on failure modes when ownership is absent.

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