Skip to main content
Glama

Find an organization

admin_find_organization
Read-onlyIdempotent

Internal staff only. Finds organizations anywhere on this deployment from what you were told about a customer: the organization's id or slug, a member's exact address, the domain members sign in from ("@acme.com" or "acme.com"), or part of the name. At most ten, the most exact matches first, each with its id, slug, status, plan, member count and what matched. An organization a coding agent made names that agent (createdByAgent); while nobody has claimed it, it reads unclaimed, with the date it is deleted unless claimed (unclaimedUntil), and its name and its one member are placeholders. Pass the id to admin_get_organization or admin_grant_credits.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "admin_find_organization"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesAn organization id or slug, a member's address, a domain, or part of the organization's name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, non-open-world, so the safety bar is low; the description goes well beyond by disclosing the result cap ('At most ten'), the ranking rule ('most exact matches first'), the returned fields, and the special unclaimed-organization semantics (createdByAgent, unclaimedUntil, placeholder name/member). That is substantive behavioral context an agent could not infer from annotations.

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-loads the audience and the core lookup modes, then layers ranking and edge-case semantics. It is dense and the unclaimed-organization sentence is long, but every sentence carries actionable information rather than filler.

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 read-only, single-parameter search with no output schema, the description supplies the result count limit, ordering, returned fields, and the unclaimed-org caveat, and names the follow-up tools. Nothing an agent needs to call it correctly is missing.

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 'query' param is fully documented in the schema, so the baseline is 3. The description mostly restates the accepted input types but does add the concrete domain format examples ('@acme.com' or 'acme.com'), a marginal gain over the schema.

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 ('Finds organizations anywhere on this deployment') and immediately frames the lookup modes (id, slug, member address, domain, partial name). It implicitly distinguishes itself from admin_get_organization by telling the agent to pass the id there once found, so the find-vs-fetch split is legible 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?

'Internal staff only' sets the audience, and 'from what you were told about a customer' frames the triggering situation clearly. The closing 'Pass the id to admin_get_organization or admin_grant_credits' routes the agent to the next step, though it never states explicitly when NOT to use this versus get_organization.

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