Skip to main content
Glama

Get phrase details

get_phrase
Read-only

Get full details of one saved phrase by id (from list_phrases or an add_phrases result): all meanings with translations and examples, plus where the user saw it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "phrase_id": "<phrase_id>"
    },
    "name": "get_phrase"
  }
}

Input Schema

NameRequiredDescriptionDefault
nativeNoNative-language code. Defaults to the primary profile.
targetNoTarget-language code. Defaults to the primary profile.
phrase_idYesThe phrase id from list_phrases / add_phrases.

Output Schema

NameRequiredDescriptionDefault
ipaYes
urlYes
textYes
seenInYes
meaningsYes
phraseIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the return content (all meanings with translations and examples) but says nothing about error behavior for an unknown id, permission/profile requirements, or whether unsaved/ambiguous ids are tolerated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that identifies the resource, the id source, and the payload with no filler. The nested parenthetical and colon-list make it dense, but every clause carries information.

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?

With annotations covering safety, a full input schema, and an output schema, the definition provides nearly everything needed to invoke correctly. The one remaining gap is that the effect of the native/target parameters on the returned meanings/translations is left entirely to the schema.

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% and all three parameters are documented in the schema, establishing a baseline of 3. The description only reinforces phrase_id provenance and adds nothing about how native/target affect which translations are returned.

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+resource ('Get full details of one saved phrase by id') and enumerates the payload (meanings, translations, examples, where the user saw it), which clearly separates it from list_phrases and find_phrases, which operate over multiple phrases.

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 parenthetical '(from list_phrases or an add_phrases result)' documents the intended retrieval chain and where the id comes from, giving clear usage context. It does not state exclusions (e.g., when to use find_phrases instead for lookup by text), so it stops short of a 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