Skip to main content
Glama

List a project's strings

list_phrases
Read-onlyIdempotent

Use this when someone asks to see the translation strings in a project, optionally in one language or for one key. Returns up to 100 phrases with id, key, language and value, plus the total count. Not for finding strings by the words they contain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoOnly this exact key
projectYesProject name; an id matches nothing
languageNoOnly strings in this locale code, such as en, it or pt-BR

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
phrasesYesUp to 100 phrases, one row per key and language, values cut to 2,000 characters; phraseCount has the total
phraseCountYes
phrasesTruncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / key / description
      Previous value: -"Filter by exact phrase key"New value: +"Only this exact key"
    • changedInput schema / properties / language / description
      Previous value: -"Filter by language code (e.g. en, it, es)"New value: +"Only strings in this locale code, such as en, it or pt-BR"
    • changedInput schema / properties / project / description
      Previous value: -"Project name (slug) to list phrases for"New value: +"Project name; an id matches nothing"
    • addedOutput schema / properties / phrases / description
      Added value: +"Up to 100 phrases, one row per key and language, values cut to 2,000 characters; phraseCount has the total"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description usefully adds behavioral context the annotations do not: a 100-item cap, the returned fields (id, key, language, value), and the total count.

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?

Three short sentences, front-loaded with the usage trigger followed by return shape and the negative boundary. No filler and nothing redundant.

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?

A read-only list tool with full schema coverage and an output schema; the description covers when to use it, what it returns and its exclusion, which is everything an agent needs to invoke it correctly.

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%, so the schema already documents project, language and key with formats. The description only restates the optional language/key narrowing and adds no syntax or semantics beyond what's structured, so the 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 (list) and resource (translation strings/phrases) with scope (a project), and names the distinguishing constraint that it is not a content search. An agent can distinguish it from search_phrases and get_phrase without opening a schema.

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 a clear triggering condition ('when someone asks to see the translation strings in a project') and an explicit exclusion ('Not for finding strings by the words they contain'). It stops short of naming search_phrases as the alternative, so the routing is implied rather than spelled out.

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