Skip to main content
Glama

Get the organization

get_organization
Read-onlyIdempotent

The organization this call acts in: name, plan, whether AI editing is on, seats used, your own role and permissions, every member (userId, role, permissions, name, email, avatarUrl) and, for the owner only, the pending invites (id, email, permissions, createdAt, expired). Use the member userId with remove_member and the invite id with revoke_invite.

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

Input Schema

NameRequiredDescriptionDefault
organizationIdNoWhich organization to act in: an id from list_organizations. Leave out for this connection's default organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds one genuinely new behavioral fact: pending invites are returned for the owner only, which is a visibility scoping rule an agent cannot infer from annotations. It stops short of anything about errors for an invalid organizationId or how large member lists are handled.

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?

Front-loaded with the resource identity, then a compact field inventory followed by an actionable closing sentence. The long enumeration is justified because there is no output schema, though the parenthetical field list is dense and could be slightly tighter.

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?

With no output schema, the description correctly compensates by enumerating returned fields and the owner-only conditional. The remaining gaps are small: no error or permission-failure behavior for a bad organizationId, and no mention of whether invites are omitted or empty for non-owners.

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 single optional organizationId is fully documented in the schema, including the fallback to the connection default. The description adds no additional meaning about that parameter, so the baseline of 3 applies.

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?

States a specific verb and resource and then enumerates exactly what the payload contains: name, plan, AI-editing flag, seat usage, caller role/permissions, members, and owner-only pending invites. Naming remove_member and revoke_invite ties the returned identifiers to concrete downstream actions, so the tool is distinguishable from siblings 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The closing sentence gives clear downstream guidance: consume the member userId with remove_member and the invite id with revoke_invite, which tells the agent why it would call this first. It does not explicitly contrast with list_organizations (the schema points there for organizationId), so the when-to-use-this-vs-alternative framing is implied rather than stated.

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