Skip to main content
Glama

Update Organization Name

update_organization_name
Idempotent

Rename an organization (PUT /api/organizations/{org_id}, body { organization_name }). org_id is required and is placed into the path. Returns the updated organization. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Idempotent (re-applying the same name is a no-op). Example: { "org_id": "org-123", "organization_name": "Acme FinOps", "confirm": true }.

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": {
      "org_id": "<org_id>",
      "organization_name": "<organization_name>"
    },
    "name": "update_organization_name"
  }
}

Input Schema

NameRequiredDescriptionDefault
org_idYesThe organization id to rename (substituted into PUT /api/organizations/{org_id}). Required.
confirmNoSet to true to actually perform this write. Required: the tool refuses the mutation unless confirm:true is present. Authorization for the change itself is your org role, checked server-side.
organization_nameYesThe new display name for the organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, idempotentHint=true, destructiveHint=false; the description adds the four separate authorization gates, the all-or-nothing refusal behavior ('changes nothing'), that the error identifies the failing gate, and that read-only keys are permanently blocked. This is exactly the operational context an agent needs before attempting a guarded write.

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?

Front-loads verb, resource, endpoint, and body before the guardrails, then enumerates the four conditions compactly. Each sentence carries distinct information (endpoint shape, write-gate list, refusal semantics, key restriction, idempotency, example) with no 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 3-parameter guarded write with full schema coverage and annotations, nothing material is missing: return value is stated ('Returns the updated organization'), authorization is spelled out, and failure behavior is described. No output schema exists, so no return-value explanation is owed.

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 description coverage is 100%, so org_id, organization_name, and confirm are already documented in the schema, including path substitution and the confirm requirement. The description's parameter content largely restates that, adding only a concrete example payload, whose value is modest, so the baseline 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 ('Rename an organization') plus the exact endpoint and body shape (PUT /api/organizations/{org_id}, body { organization_name }). That scopes it clearly against siblings such as update_organization_preferences, which touch other organization settings rather than the name.

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?

Gives concrete preconditions for use: admin:write scope, the org-level AI agent switch, admin/super_admin role, and confirm:true, with explicit instructions to relay the naming error instead of retrying, and a hard exclusion (read-only cak_ API keys can never perform it). It stops short of naming a sibling tool for related-but-different edits, so it is not a full when/when-not/alternatives statement.

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