Skip to main content
Glama

Get a string and its translations

wti_get_string
Read-only

Retrieve a translation string by key or ID to view its text, per-locale translation status, labels, developer comment, and source file.

Instructions

Show one string by key or id with its translations: text and status per locale, labels, developer comment and file.

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": "wti_get_string"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoExact key of the string, e.g. `booking_confirm_title`. Pass this or `string_id`.
file_idNoMaster file id (see wti_get_project). Only needed when the same key exists in several files.
localesNoLocales to include: "*" for all (default) or a list such as "de,fr".
string_idNoNumeric id of the string. Pass this or `key`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint and openWorldHint, so the safety profile is already covered and the description's job is to add the return shape. It does that well by naming the payload fields (text/status per locale, labels, developer comment, file), which matters because there is no output schema. It does not disclose error behavior or what an unfiltered lookup returns.

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?

A single front-loaded sentence with the selector (key or id) stated before the colon and the returned fields compactly listed after it. No filler, no restatement of the title, and nothing to trim.

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 simple read tool with fully documented parameters and read-only annotations, the definition covers the selector and the return payload adequately. The one gap is that it never says what happens if neither identifier is passed, which is plausible given zero required parameters.

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 schema already documents key vs string_id, file_id disambiguation, and the locales wildcard. The description only echoes "by key or id" and adds no syntax or precedence detail beyond the schema. Baseline 3 applies where the schema carries the load.

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?

States a specific verb and resource ("Show one string") and enumerates exactly what accompanies it: text and status per locale, labels, developer comment and file. The word "one" implicitly contrasts with list/search siblings, but no sibling is named, so differentiation is inferential rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no exclusion of alternatives (e.g. wti_list_strings or wti_search_glossary), and no statement of what happens when neither key nor string_id is supplied despite both being optional in the schema. The agent must infer the single-string retrieval context from the word "one".

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