Skip to main content
Glama

Create MCP deployment key

create_mcp_deployment_key

Issue a client key for an MCP deployment. The key is returned ONCE — store it in the client now; only a prefix is kept.

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

Input Schema

NameRequiredDescriptionDefault
labelNoWhat the key is for, e.g. 'Internal GPT'.
deployment_idYesId of the MCP deployment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations only cover the safety profile (readOnlyHint=false, destructiveHint=false), so the description carries the real burden — and it does add the single most important trait: the key is returned once, only a prefix is retained afterward. That is non-obvious, unrecoverable behavior an agent must act on. It stops short of noting required permissions or that the key grants access, so not a 5.

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?

Two sentences, no waste, and the critical one-time-visibility warning is placed where it will be read rather than buried. Every clause earns its place.

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 explaining the return value (key shown once, only a prefix kept) — the most needed missing piece for a credential-minting tool. Minor gaps remain around auth requirements and key scope, but the essentials for correct invocation are present.

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% and both parameters carry inline descriptions ('Id of the MCP deployment', label example 'Internal GPT'), so the description adds no parameter meaning beyond the schema. 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?

"Issue a client key for an MCP deployment" gives a specific verb (issue) and a specific resource (client key scoped to a deployment). It is immediately distinguishable from the sibling revoke_mcp_deployment_key and from create_mcp_deployment without opening any schema.

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?

The context of use (provisioning credentials for an existing deployment) is implied by the required deployment_id, but the description never states when to reach for this versus revoke or re-issue, nor any precondition such as the deployment needing to be active. Adequate but inference-dependent.

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