Skip to main content
Glama

Read a glossary’s draft

get_glossary_draft
Read-only

Read a glossary’s draft (glossaryId from list_glossaries): its open draft — generating, with its progress (chunksDone of chunkTotal parts read), or ready, with its candidates — or its newest draft when that one failed, with why (failure), or found nothing to propose, completed with no candidates as soon as it was drafted; draft: null otherwise. Each candidate proposes a source term, target terms by locale, do-not-translate, a description and forbidden variants, with its evidence: how often each source spelling and target wording occurs in the Workflow’s strings, and whether a human or a machine wrote it. conflict is a stored entry the candidate differs from, as it is now — accepting the candidate replaces it, so show the user both. rejectedBefore flags a term rejected in an earlier draft of the glossary. billing says whether the draft is free or paid; a paid one carries its estimateEur and actual costEur. When referring to a project or language in your reply to the user, use its name and locale (e.g. "French (fr-FR)") — ids (UUIDs) are for tool calls only, never show them to the user.

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": {
      "glossaryId": "<glossaryId>"
    },
    "name": "get_glossary_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
glossaryIdYesGlossary id, from list_glossaries

Output Schema

NameRequiredDescriptionDefault
draftYesThe open draft, or the newest one when it failed; null when neither

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior5/5

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

Beyond the read-only annotations, the description discloses the draft lifecycle in detail: generating with progress, ready with candidates, failed drafts with failure reasons, completed with no candidates, and null otherwise. It also explains billing behavior, conflict semantics, rejectedBefore, and evidence fields, giving the agent substantial operational context.

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

Conciseness2/5

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

The description is a very dense, long paragraph that spends most of its length enumerating return fields already covered by the output schema. The final instruction about never showing UUIDs to users is also user-facing guidance rather than tool-invocation context, making the definition poorly front-loaded and overlong.

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 read-only draft getter with an output schema and safe annotations, the description is complete: it covers all draft states, failure handling, billing, conflicts, and candidate evidence. An agent has enough context to interpret and use the result 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 description coverage is 100% for the single glossaryId parameter, so the schema already documents its meaning and source. The description repeats that the id comes from list_glossaries but adds no additional syntax or semantic detail beyond the schema.

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?

The description states a specific verb and resource: read a glossary's draft. It is clear about what is returned across draft states, but it does not explicitly distinguish this tool from nearby read tools such as fetch_glossary or list_glossary.

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?

It tells the agent where the glossaryId comes from (list_glossaries) and says to show the user both a candidate and any conflicting stored entry. However, it gives no explicit guidance on when to call this versus draft_glossary or other glossary-reading tools, and no exclusions.

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.