Skip to main content
Glama

gateway.tasks_list

Lists brokered downstream MCP tasks with optional server filtering and cursor pagination, returning opaque task IDs for tracking work across provisioned servers.

Instructions

List brokered downstream MCP tasks. MCP task IDs are opaque downstream task identifiers, not PMCP request IDs.

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": "gateway.tasks_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoOptional downstream pagination cursor
server_nameNoOptional server filter
requestor_contextNoOpaque requestor context forwarded downstream

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv3.0.1
    • addedInput schema / properties / cursor / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / cursor / type
      Removed value: -"string"
    • addedInput schema / properties / requestor_context
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Opaque requestor context forwarded downstream"
      +}
    • addedInput schema / properties / server_name / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / server_name / type
      Removed value: -"string"
  2. Addedv1.21.1
  3. Removedv1.20.0
  4. First observedv1.18.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and largely does not meet it. It never says whether results are scoped to the caller, all downstream servers, or the whole gateway, nor how pagination works despite a cursor parameter, nor whether listing has any side effects. The opaque-ID clarification is genuinely valuable, but it is the only behavioral disclosure present.

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 short sentences with the purpose front-loaded and no filler. The second sentence is dense and slightly cryptic in isolation (PMCP is never expanded), but it earns its place as a real disambiguation.

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 three-parameter, zero-required, annotation-free list tool with no output schema, the description covers the core identity but omits scope of results, pagination behavior, and what a "brokered task" contains. Adequate to call correctly, but not complete enough to predict what comes back.

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 description coverage is 100%, so cursor, server_name, and requestor_context are already documented at the field level. The description's note about MCP task IDs being opaque downstream identifiers adds real meaning about identifier semantics, but it does not map onto any of the three declared parameters. Baseline 3 applies.

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 ("List brokered downstream MCP tasks"), which is clearly distinct from siblings like tasks_get, tasks_result, and tasks_cancel. It stops short of naming those siblings explicitly, but an agent can still infer the enumeration role without opening a 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 by the verb "List"; there is no explicit statement of when to use this versus tasks_get or tasks_result, nor any prerequisite context. The second sentence is a useful disambiguation warning about ID semantics, but it does not function as when-to-use guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.