Skip to main content
Glama

Get project API key

get_api_key
Read-only

Returns the project REST API key (project owner only) — for build scripts or CI that download translations. Treat it as a secret: put it into environment variables or a secrets store, never commit 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_api_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNoProject id (from list_projects) or exact project name. Optional when connected with a project API key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds genuinely new behavioral context: the owner-only permission requirement and secret-handling obligations. It does not describe error behavior for non-owners or whether the key can be rotated, which is the main remaining gap.

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 tight sentences: what it returns and who may call it first, then the security obligation. Every clause earns its place with no restatement of the title or name.

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?

For a zero-required-parameter read tool with no output schema, the description covers purpose, permission, intended use, and secure handling. Only failure behavior for unauthorized callers and any key-lifetime/rotation detail are missing, which are minor for this complexity.

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 `project` parameter is fully documented in the schema, including the id-vs-name form and optionality under project-key auth. The description adds no parameter meaning beyond that, so 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 ("Returns the project REST API key") plus scope and audience ("project owner only"). No sibling tool plausibly returns a credential, so the agent can distinguish this from list_projects/get_project without reading further.

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 clear when-to-use context: build scripts or CI that download translations, and a clear who-can-use constraint (project owner only). It stops short of naming alternatives or stating what happens when a non-owner calls it, so not a full 5.

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