Skip to main content
Glama

FAS Vietnamese API

Search the translation memory

tm_query
Read-onlyIdempotent

Look up source texts in your account's translation memory and return the best matches (score 50 to 100, where 100 is the same source) with their stored translations. Up to 50 texts per call.

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": {
      "texts": "<texts>"
    },
    "name": "tm_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMatches per text, 1 to 10 (default 3).
textsYes1 to 50 source texts to look up.
minMatchNoLowest match score, 50 to 100 (default 75).
sourceLangNoen
targetLangNovi

Output Schema

NameRequiredDescriptionDefault
resultsYes
scannedNo
requestIdNoThe API request id; quote it when you contact support.
truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world, non-destructive behavior, so the description's job is lighter. It still adds real behavioral context: match scores run 50 to 100 with 100 meaning identical source, and there is a hard batch cap of 50 texts per call. It omits defaults for limit/minMatch and what an empty result looks like.

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?

Two sentences, zero waste, with the core action front-loaded and the score/batch constraints following as supporting detail. Nothing is repeated verbatim from the schema in a way that clutters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return structure needn't be spelled out. However, for a 5-parameter fuzzy-memory search with a default target language, the description says nothing about how the language pair scopes the lookup, what happens below minMatch, or how it relates to the translation-generating siblings.

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 60%: texts, limit and minMatch are documented in the schema, while sourceLang and targetLang carry only defaults and patterns. The description adds meaning to minMatch by explaining the score scale ('100 is the same source') and restates the 50-text ceiling, but does nothing to clarify the language-pair parameters, notably the vi default target.

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 ('look up source texts in your account's translation memory') and what comes back ('best matches ... with their stored translations'). It is clearly a lookup rather than a translation action, which implicitly separates it from translate_to_vietnamese, but it never names or contrasts a sibling explicitly.

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?

Usage is only implied: 'look up ... in your translation memory' suggests reusing existing segments, and the score explanation implies fuzzy matching. There is no statement of when to prefer this over machine translation or how it behaves when no match exists above minMatch.

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.