Skip to main content
Glama

Gh List Orgs

gh_list_orgs
Read-onlyIdempotent

List organizations you're a member of. Returns org names, URLs, and your role (owner, member, etc.).

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countYesNumber of items returned.
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "description": "Number of items returned.",
      +      "type": "integer"
      +    },
      +    "items": {
      +      "items": {
      +        "properties": {
      +          "avatar_url": {
      +            "description": "Organization avatar URL",
      +            "type": "string"
      +          },
      +          "description": {
      +            "description": "Organization description",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "html_url": {
      +            "description": "Organization web URL",
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "Organization ID",
      +            "type": "number"
      +          },
      +          "login": {
      +            "description": "Organization login",
      +            "type": "string"
      +          },
      +          "url": {
      +            "description": "Organization API URL",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "items",
      +    "count"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {}
      +]
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior. The description adds value by disclosing the return payload fields (org names, URLs, role), which is beyond the annotations. It also implies the scope is restricted to the authenticated user's memberships, adding behavioral context.

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?

The description is a single, dense sentence that front-loads the primary action ('List organizations you're a member of') and then specifies return values. No wasted words, perfectly concise for the tool's simplicity.

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?

Given the tool has no parameters, a rich output schema, and strong annotations, the description is fully complete. It states what is listed and what fields are returned. There are no gaps in prerequisites, side effects, or complex behavior.

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?

The tool has zero parameters, so the schema provides no semantics to clarify. Baseline for 0 params is 4; the description does not need to compensate. It adds no parameter-related details, but none are required.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool lists organizations the user is a member of, with a specific verb ('List') and resource ('organizations'). It distinguishes from siblings like gh_list_repos and gh_list_issues by the object type. The added detail about returning org names, URLs, and roles sharpens the purpose.

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?

The description implies when to use the tool—when you need your GitHub organizations—but does not explicitly state alternatives or exclusion criteria. No mention of when not to use it or more specialized alternatives. It is a simple, self-evident tool, but lacks explicit guidance compared to the 'get_calls' example.

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.