Skip to main content
Glama

Server Details

Turn a phrase and its translation into a shareable word-alignment diagram.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
tinygodsdev/bitext-word-alignment
GitHub Stars
4

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.7/5 across 1 of 1 tools scored.

Server CoherenceA
Disambiguation5/5

With only one tool, there is no risk of confusion or overlap between tools. The single tool's purpose is clearly described and distinct.

Naming Consistency5/5

The single tool name 'create_word_alignment' follows a consistent verb_noun pattern, which is clear and predictable.

Tool Count3/5

One tool feels thin for most domains, but given the specialized nature of word alignment, it is borderline acceptable. A few more tools (e.g., list, delete) would improve scoping.

Completeness2/5

The server only supports creating alignments, with no ability to retrieve, update, or delete existing ones. This is a significant gap for typical usage patterns.

Available Tools

1 tool
create_word_alignmentCreate word alignment diagramA
Read-onlyIdempotent
Inspect

Create a shareable Word Aligner diagram that shows which words match across two or more stacked lines of text (a translation and its source, an interlinear gloss, IPA, etc.). Returns a URL that opens the interactive diagram, plus a preview image.

Use this when the user wants to translate a phrase and show word correspondences, align a translation with its source (including RTL scripts like Hebrew or Arabic), or build a Leipzig-style interlinear gloss.

Word indices are 0-based token positions. Tokenize each line the same way the tool does before assigning indices:

  • Whitespace always splits ("I have been going" -> I[0] have[1] been[2] going[3]).

  • The characters in settings.tokenSplitChars (default ".-|") also split and are then removed from the rendered text, so "go.PST.IPFV" becomes three tokens (go, PST, IPFV) and the dots disappear. For Leipzig glosses set tokenSplitChars to "-|" to keep the dots.

  • Punctuation stays attached by default ("Hello, world!" -> Hello,[0] world![1]).

  • In RTL lines, word 0 is the logically first word (rightmost on screen); index in reading order.

Each alignment is [lineA, wordA, lineB, wordB]; the two lines must be vertically adjacent (|lineA - lineB| = 1). To express many-to-one, list each target word as its own tuple. Tokens that share a connection group get the same color automatically.

ParametersJSON Schema
NameRequiredDescriptionDefault
linesYesText lines, top to bottom. Each entry is a plain string or an object with per-line visual options.
pairsNoPer-pair controls for a specific adjacent line pair.
settingsNoGlobal visual overrides. Unset fields inherit defaults.
alignmentsNoWord-alignment links as [lineA, wordA, lineB, wordB] (0-based indices, lines must be adjacent).

Output Schema

ParametersJSON Schema
NameRequiredDescription
urlYesThe shareable diagram URL. Return this to the user exactly as received, character for character.
Behavior5/5

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

The description thoroughly explains behavioral traits beyond annotations: tokenization rules (whitespace, tokenSplitChars, punctuation handling), RTL handling, alignment constraints (adjacent lines, 0-based indices), and output format (URL plus preview). Annotations indicate idempotent and read-only hints, which are consistent (creation is not destructive). No contradictions.

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?

The description is comprehensive and well-structured, starting with the primary purpose and output, followed by usage guidance, then detailed tokenization and alignment rules. While it is lengthier than some, every section adds necessary context for a tool with complex input parameters. Minor redundancy could be trimmed, but overall it is efficient.

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?

Given the tool's complexity (4 parameters, nested objects, array parameters, 100% schema coverage, and an output schema), the description covers all essential aspects: what the tool does, when to use it, detailed tokenization behavior, alignment rules, and what the user gets (URL and preview). No gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage, the description adds substantial meaning: it explains 0-based indexing for word positions, how tokenization works for each parameter (e.g., tokenSplitChars default and effect), the structure of alignment tuples, and constraints like vertical adjacency. The schema provides formal definitions, but the description makes usage intuitive.

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 clearly states the tool creates a shareable Word Aligner diagram showing word matches across stacked lines of text. It specifies the output (URL and preview image) and lists concrete use cases like translation alignment and interlinear glosses. The verb and resource are specific, and no sibling tools exist for differentiation.

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 description explicitly provides usage scenarios: translating phrases with word correspondences, aligning translations with sources (including RTL scripts), and building Leipzig-style glosses. While it does not state when not to use the tool, the absence of sibling tools means no alternative context is needed, making the guidance sufficiently clear.

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

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.