Skip to main content
Glama

List organizations

orgs_list
Read-onlyIdempotent

Retrieve every organization a user belongs to, or the organization tied to an API key, with results ordered by organization name.

Instructions

Users get every organization they belong to; org API keys get the organization that issued them. Items are ordered by organization name ascending.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.10
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "CurrentUserOrg": {
      +      "properties": {
      +        "created_at": {
      +          "allOf": [
      +            {
      +              "$ref": "#/$defs/Timestamp"
      +            }
      +          ],
      +          "description": "Organization creation timestamp, not the membership join timestamp."
      +        },
      +        "id": {
      +          "$ref": "#/$defs/OrganizationID"
      +        },
      +        "name": {
      +          "$ref": "#/$defs/ResourceName"
      +        },
      +        "role": {
      +          "description": "The authenticated user's role in this organization.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "name",
      +        "role",
      +        "created_at"
      +      ],
      +      "type": "object"
      +    },
      +    "OrganizationID": {
      +      "pattern": "^org_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ResourceName": {
      +      "description": "Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.",
      +      "maxLength": 64,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "Timestamp": {
      +      "format": "date-time",
      +      "type": "string"
      +    }
      +  },
      +  "properties": {
      +    "data": {
      +      "items": {
      +        "$ref": "#/$defs/CurrentUserOrg"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so safety is covered. The description adds genuinely non-derivable context: the result set depends on the credential type (user tokens see all memberships, org API keys see only their issuing org), plus a deterministic sort order. That is exactly the kind of behavior an agent cannot learn from the schema.

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 short sentences, zero filler. The auth-scoping rule comes first because it changes what the caller will receive, and ordering follows as a secondary detail.

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

Completeness5/5

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

For a zero-parameter list tool with an output schema and full annotation coverage, this is sufficient: scope, actor-dependent filtering, and ordering are all disclosed. Return shape is handled by the output schema, so the description needs nothing more.

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?

Zero parameters, so there is no parameter semantics to explain; the baseline of 4 applies. Nothing in the description conflicts with the empty schema.

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 specific resource (organizations) and its scope, making it distinguishable from the other *_list siblings which return different resources. The verb 'list' is implied by the title rather than spelled out, but the outcome is unambiguous.

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 implied rather than stated: an agent can infer this is the entry point for discovering org membership, but the description never says when to call it versus a get-by-id alternative or what preconditions apply. No exclusions are offered.

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