Skip to main content
Glama

Get a translation key

get_content

Fetch a translation key by name to retrieve its value in the selected language and every other locale. Specify 'lang' to override; defaults to project language. Read-only, consumes no credits.

Instructions

Fetch a single translation key by name (returns the value for the chosen language plus every other locale that has been written). Use lang to pick the locale; defaults to the project default language. Read-only; doesn't consume credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesDot-namespaced translation key, e.g. 'hero.headline'.
langNoBCP-47 language code (defaults to project default_language).
Behavior5/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It explicitly states the operation is read-only, does not consume credits, returns the value for the chosen locale plus every other written locale, and defaults to the project default language. These are important behavioral traits beyond the schema.

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?

The description is two sentences, front-loaded with the primary action, and contains no filler. Every sentence contributes meaningful information about behavior and usage.

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 simple read tool with two parameters and no output schema, the description adequately covers what it does, what it returns, and its safety profile. No significant gaps are evident.

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 the baseline is 3. The description repeats what `lang` does (defaults to project default) without adding new parameter-level meaning; the schema already provides the same context. It adds no extra detail about `key` beyond 'by name'.

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?

The description clearly states 'Fetch a single translation key by name' with a specific verb and resource, and distinguishes this tool from sibling getters by focusing on translation keys and locale behavior. It is immediately obvious what the tool does.

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?

The description gives clear context: use it to fetch a single translation key, with an optional `lang` parameter that defaults to the project language. It does not explicitly mention alternatives, but the resource type is distinct from sibling tools, making the intended use obvious.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vbalagovic/neuraldraft-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server