Skip to main content
Glama

Get Current Organization

get_current_organization
Read-only

Fetch the organization every other CloudQuell tool is acting on (GET /api/organizations/current): its name and id, subscription tier (and any comp/sales tier override), status, member and connection counts, trial and cancellation state, and — most usefully — YOUR role in it (your_role) and seat status. To work in a different organization, call list_organizations and then switch_organization. Call this when you need to name the company in a report, explain why a write was refused (the server checks your organization ROLE, not just the admin:write OAuth scope — a viewer is refused either way), or explain why data looks limited (a free tier, a lapsed trial, or a "limited" seat_status). Use response_format="concise" (default) or "detailed" for every billing/trial field. Read-only. Example: {} returns the current organization and your role in it.

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_current_organization"
  }
}

Input Schema

NameRequiredDescriptionDefault
response_formatNoconcise = key fields only (default, lower token cost); detailed = the full parsed payload.concise

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description explains an important authorization nuance: the server checks organization role, not just OAuth scope, so a viewer is refused either way. It also discloses that tier, trial, and seat status can explain limited data, which is meaningful operational context.

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?

The description is front-loaded with the core purpose and then provides targeted usage details, alternatives, parameter guidance, and an example. It is somewhat long for a one-parameter read-only tool, but nearly every sentence adds useful decision context.

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?

There is no output schema, but the description adequately lists the returned fields and emphasizes the caller's role and seat status. It covers safety through read-only annotations and adds authorization, tier, trial, and seat-status context, leaving little ambiguity for an agent calling this tool.

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 input schema already documents response_format at 100% coverage, including the enum, default, and concise vs detailed meaning. The description adds a useful intended-use note that detailed should be used for billing/trial fields, though it does not add further syntax or validation details.

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 states a specific verb and resource: fetch the current organization that other tools operate on, including its key fields and the caller's role. It explicitly distinguishes this from working with a different organization by naming list_organizations and switch_organization.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It gives explicit when-to-use cases: naming the company in a report, explaining a refused write due to organization role, and explaining limited data due to tier, trial, or seat status. It also clearly routes the agent to list_organizations and switch_organization when a different organization is needed.

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