Skip to main content
Glama

get_key

Retrieve translation values for a dot-separated key across all or specified locales, including the file path where each value is defined.

Instructions

Get a key's values across locales, with the file each lives in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesDot-separated key path, e.g. "roles_scope.super_admin"
localesNoDefault: all locales
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. The word 'Get' clearly signals a non-destructive read operation, and the added detail about returning the file each value lives in provides useful output behavior context. However, it does not mention error handling or sorting, but these are not critical for such a simple tool.

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 a single, front-loaded sentence that conveys purpose, scope, and output detail without any redundant words. It earns its place entirely.

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?

Given the simple tool complexity, a 2-parameter schema with full coverage, and no output schema, the description is reasonably complete. It explains what the tool returns (values and the file), which partially compensates for the lack of an output schema. Minor gaps like missing-key behavior are acceptable at this simplicity level.

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?

The input schema already provides 100% coverage with descriptions for 'key' (dot-separated key path, e.g. 'roles_scope.super_admin') and 'locales' (default: all locales). The description's phrase 'across locales' aligns with the 'locales' parameter but adds no new semantic detail beyond the schema.

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 'Get a key's values across locales, with the file each lives in' clearly states the verb ('Get'), resource ('a key's values'), scope ('across locales'), and an additional detail ('with the file each lives in'). This distinguishes it from sibling tools like 'keys' (listing all keys) and 'search' (fuzzy lookup).

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 description implies the tool is used to retrieve a specific key's translations, but it does not explicitly state when to use it over alternatives like 'search' or 'missing'. The context is clear enough for a simple read operation, but there are no explicit when-to-use or when-not-to-use directions.

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/skk2010/mcp_i18n'

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