Skip to main content
Glama

Create your organization-scoped personal key

create_organization_personal_key

Create a personal runtime key with no project in the connected organization. Secrets are omitted by default; its ID supports call_model_with_org_key. Only kind=personal is allowed. Reuse idempotency_key and identical arguments on uncertain results; replay returns metadata without the secret. Requires apikeys:write. Runtime secrets are omitted by default; call_model_with_org_key uses the returned key ID. Project resources require an explicit project_uuid; credentials remain organization scoped. Supply idempotency_key and reuse it with identical arguments on retries.

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": {
      "name": "<name>"
    },
    "name": "create_organization_personal_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNopersonal (the default) or project. A project key needs the project_keys:manage permission.
nameYes
return_secretNoDefault false: keep the runtime secret on the server and return its ID for the matching model-call tool. For local application setup use opper keys create to install a key privately. Set true only when the user explicitly needs the raw secret and the client can deliver it privately; raw tool results may enter the model conversation.
idempotency_keyNoGenerate a unique operation ID (for example UUID) before creation. Reuse it and the exact original arguments after a timeout or uncertain result; never generate a new ID merely to retry. A changed payload or deleted original resource returns 409. Key replays return metadata without the raw secret.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNoEmpty for a single resource. Endpoint-specific context appears here rather than as a sibling of `data`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description discloses the apikeys:write permission requirement, that secrets are omitted from the response by default, and that a key replay returns metadata without the secret while a changed payload returns 409. Those are genuinely useful operational facts an agent cannot get from the structured fields. The only oddity is that the description stresses idempotency_key replay semantics while idempotentHint=false, which describes the raw call rather than the keyed replay and is not a true contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the description repeats itself almost verbatim — 'Secrets are omitted by default' appears twice and the idempotency_key reuse instruction appears twice in slightly different wording. Cutting the duplicated sentences would halve the length without losing any information.

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?

An output schema exists, annotations cover safety, and the description covers permissions, secret handling, idempotent retry behavior, and project scoping, so an agent has enough to call this correctly. The residual gap is the unresolved kind=personal versus kind=project signal and the absence of any pointer to the sibling used to list or delete these keys.

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 75%, so the schema already carries most parameter meaning, and the description mostly restates it (secret omission, idempotency_key reuse). It also introduces tension with the schema: the description asserts 'Only kind=personal is allowed,' while the schema enum still exposes 'project' with its own permission note, leaving the agent unsure which is authoritative.

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

Purpose4/5

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

The first sentence gives a specific verb and resource with scope: 'Create a personal runtime key with no project in the connected organization,' which separates it from project keys and from the generic sibling create_api_key. The distinction is clear but not reinforced by naming the alternative tool explicitly, so an agent must infer which sibling to use for org-wide API keys versus runtime keys.

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?

There is real conditional guidance for parameters: reuse idempotency_key on uncertain results, set return_secret=true only when the user explicitly needs the raw secret and the client can deliver it privately, and use explicit project_uuid for project resources. What is missing is any when-to-use-this-versus-sibling routing — nothing says when to call create_api_key or list_organization_personal_keys instead.

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