Skip to main content
Glama

List upstreams

list_upstreams
Read-only

Lists an account's upstreams: the apps that custom domains forward traffic to.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 100 items per page. Defaults to 1.
accountNoAccount name or UUID. Can be left out when you only have one account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety and scope profile is covered. The description adds the useful conceptual meaning of an upstream, but says nothing about result ordering, pagination behavior beyond the schema's page param, or auth requirements. With annotations carrying the safety burden, this is an acceptable but thin addition.

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?

A single sentence with zero waste, front-loaded with the core action and immediately followed by the clarifying definition. Nothing is repeated or padded.

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 read-only list tool with no required params and full schema coverage, the essential context is present. However, there is no output schema, and the description says nothing about what an upstream record contains or how results are paginated, which an agent would need to plan a follow-up call.

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% and both parameters (page, account) are fully documented in the schema, so the description is not required to compensate. It adds no parameter meaning of its own, which is correct for the baseline of 3.

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 ('Lists') and resource ('an account's upstreams') and then defines the resource as 'the apps that custom domains forward traffic to', which conceptually separates upstreams from the sibling list_custom_domains. It stops short of explicitly naming an alternative, but an agent can tell what this tool returns without opening the schema.

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 only implied: you call this to enumerate the upstream targets of custom domains. There is no explicit when-to-use vs. when-not guidance, and no mention of how this relates to create_upstream or get_custom_domain when the agent needs details on a single upstream. The one interpretive hint ('Can be left out when you only have one account') lives in the schema, not the description.

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