Skip to main content
Glama

List readable project namespaces

namespaces_list
Read-onlyIdempotent

Lists project namespaces readable by the current user, applying namespaces/read filtering before pagination to return only authorized results.

Instructions

List readable project namespaces

Filters each namespace by namespaces/read on its name before pagination; a global wildcard grant is not required.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results per page. Results are authorization-filtered before pagination.
cursorNoOpaque cursor returned by the preceding page.

Output Schema

NameRequiredDescriptionDefault
itemsYes
nextCursorNoOpaque continuation cursor; absent at the end.
operationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"Opaque cursor returned by the preceding page."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum results per page. Results are authorization-filtered before pagination."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "Capability_depth14": {
      +      "enum": [
      +        "publicTcp",
      +        "tcpAllowlist",
      +        "publicHttps",
      +        "diskGrowth",
      +        "volumeQuota",
      +        "placement",
      +        "exec",
      +        "logs",
      +        "metrics",
      +        "scopedTokens",
      +        "dedicatedCpu",
      +        "horizontalScaling",
      +        "envChangeRestarts"
      +      ],
      +      "type": "string"
      +    },
      +    "NamespaceName_depth14": {
      +      "description": "Project namespace name, 2–32 lowercase letters, digits or hyphens; starts with a letter and ends with a letter or digit. The existing default namespace is reserved.",
      +      "maxLength": 32,
      +      "minLength": 2,
      +      "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
      +      "type": "string"
      +    },
      +    "Namespace_depth15": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "backend": {
      +          "type": "string"
      +        },
      +        "capabilities": {
      +          "items": {
      +            "$ref": "#/$defs/Capability_depth14"
      +          },
      +          "type": "array"
      +        },
      +        "clusterCount": {
      +          "minimum": 0,
      +          "readOnly": true,
      +          "type": "integer"
      +        },
      +        "config": {
      +          "additionalProperties": {
      +            "type": "string"
      +          },
      +          "type": "object"
      +        },
      +        "createdAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "default": {
      +          "type": "boolean"
      +        },
      +        "description": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "$ref": "#/$defs/NamespaceName_depth14"
      +        },
      +        "phase": {
      +          "enum": [
      +            "Pending",
      +            "Ready",
      +            "Error",
      +            "Deleting"
      +          ],
      +          "type": "string"
      +        },
      +        "projectId": {
      +          "description": "Backend target ID (Zerops project ID; Dokploy environment or Nomad namespace).",
      +          "type": "string"
      +        },
      +        "projectName": {
      +          "type": "string"
      +        },
      +        "relay": {
      +          "$ref": "#/$defs/RelayStatus_depth14"
      +        },
      +        "token": {
      +          "$ref": "#/$defs/TokenStatus_depth14"
      +        },
      +        "updatedAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "backend",
      +        "capabilities",
      +        "projectId",
      +        "projectName",
      +        "default",
      +        "phase",
      +        "token",
      +        "relay",
      +        "clusterCount",
      +        "createdAt",
      +        "updatedAt"
      +      ],
      +      "type": "object"
      +    },
      +    "RelayStatus_depth14": {
      +      "additionalProperties": false,
      +      "description": "Relay health; the default namespace uses direct networking.",
      +      "properties": {
      +        "certNotAfter": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "connected": {
      +          "type": "boolean"
      +        },
      +        "connectedSince": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "desiredVersion": {
      +          "type": "string"
      +        },
      +        "hostname": {
      +          "type": "string"
      +        },
      +        "lastError": {
      +          "type": "string"
      +        },
      +        "lastSeenAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "phase": {
      +          "enum": [
      +            "NotRequired",
      +            "Pending",
      +            "Deploying",
      +            "Ready",
      +            "Error"
      +          ],
      +          "type": "string"
      +        },
      +        "reconnects": {
      +          "format": "int64",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "serviceId": {
      +          "type": "string"
      +        },
      +        "version": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "phase",
      +        "connected",
      +        "reconnects"
      +      ],
      +      "type": "object"
      +    },
      +    "TokenStatus_depth14": {
      +      "additionalProperties": false,
      +      "description": "Secret-safe token health; never contains a token or fingerprint.",
      +      "properties": {
      +        "lastError": {
      +          "type": "string"
      +        },
      +        "lastValidatedAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "rotatedAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "source": {
      +          "enum": [
      +            "env",
      +            "stored"
      +          ],
      +          "type": "string"
      +        },
      +        "valid": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "source",
      +        "valid"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "items": {
      +      "items": {
      +        "$ref": "#/$defs/Namespace_depth15"
      +      },
      +      "type": "array"
      +    },
      +    "nextCursor": {
      +      "description": "Opaque continuation cursor; absent at the end.",
      +      "type": "string"
      +    },
      +    "operationId": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "items"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.4.3

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), the description discloses a genuinely non-obvious trait: results are filtered by namespaces/read on the namespace name before pagination, and a global wildcard grant is not needed. This materially changes how an agent interprets an empty or short page. It stops short of saying what happens to unreadable namespaces (omitted vs. errored), but the annotations already carry the safety profile.

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 most decision-relevant fact (authorization filtering happens before pagination) is stated early. The opening line largely restates the title, which is a minor redundancy.

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?

An output schema and full annotations are present, so the description only needs to supply the permission and pagination model, which it does. A brief note on how partial visibility affects total counts or cursor traversal would make it fully complete.

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 the limit parameter already documents that filtering precedes pagination, so the description adds essentially nothing new about the two parameters. Baseline 3 applies when the schema does the heavy lifting.

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?

States a concrete verb and resource ("List readable project namespaces"), with the qualifier "readable" signaling that the result set is permission-scoped. That distinguishes it reasonably from siblings like temporal_namespaces_list, though the qualifier is never defined explicitly.

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 noun phrase; there is no "use this when" statement, no exclusions, and no mention of when a different namespace-listing tool would be appropriate. An agent can guess the context from the name but gets no explicit routing guidance.

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

Deploy Server

Other Tools