Skip to main content
Glama

Estimate multi-language run

group_run_estimate
Read-only

Price a multi-language fan-out (free).

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": {
      "document_id": "<document_id>",
      "target_languages": "<target_languages>"
    },
    "name": "group_run_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
block_idsNoScope the run: block ids of the master, or a map of document_id → block ids (pass strings_reimport’s delta_block_ids as-is). Omit for whole documents.
document_idYesAny version in the language group; the group is resolved from it.
template_idNoA built-in template (id from workflow_template_list). Pass exactly one of workflow_id or template_id.
workflow_idNoA saved workflow (id from workflow_list). Pass exactly one of workflow_id or template_id.
updated_onlyNoPer language, translate only blocks whose source changed since their current translation (default false).
parallel_modeNoLarge-parallel mode for every language, for long documents (default false).
target_languagesYesLanguages to run, e.g. ["de", "fr"], or "all" for every version in the group.
include_untranslatedNoInclude versions with no translations yet (default true); set false for a review-only run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / block_ids / description
      Added value: +"Scope the run: block ids of the master, or a map of document_id → block ids (pass strings_reimport’s delta_block_ids as-is). Omit for whole documents."
    • addedInput schema / properties / document_id / description
      Added value: +"Any version in the language group; the group is resolved from it."
    • addedInput schema / properties / include_untranslated / description
      Added value: +"Include versions with no translations yet (default true); set false for a review-only run."
    • addedInput schema / properties / parallel_mode / description
      Added value: +"Large-parallel mode for every language, for long documents (default false)."
    • addedInput schema / properties / target_languages / description
      Added value: +"Languages to run, e.g. [\"de\", \"fr\"], or \"all\" for every version in the group."
    • addedInput schema / properties / template_id / description
      Added value: +"A built-in template (id from workflow_template_list). Pass exactly one of workflow_id or template_id."
    • addedInput schema / properties / updated_only / description
      Added value: +"Per language, translate only blocks whose source changed since their current translation (default false)."
    • addedInput schema / properties / workflow_id / description
      Added value: +"A saved workflow (id from workflow_list). Pass exactly one of workflow_id or template_id."
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds one genuinely new behavioral fact — "(free)", i.e. no credits are consumed — but says nothing about what the estimate returns, whether it reserves or expires, or whether it validates parameters.

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?

Six words, front-loaded, zero filler — the core action and the "free" qualifier are both immediate. It is, however, terse to the point of under-specification rather than being sized to the tool's actual complexity.

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

Completeness2/5

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

With 8 parameters, two mutually exclusive workflow/template options, and no output schema, the description carries the burden of explaining the returned estimate — but it does not. An agent cannot tell what the response contains or how to act on it, and there is no routing to run_estimate or group_run_start.

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 every parameter (block_ids, target_languages, workflow_id/template_id exclusivity, updated_only, parallel_mode) is documented in the schema itself. The description adds no parameter meaning, so the baseline of 3 applies.

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?

"Price a multi-language fan-out" gives a specific verb (price/estimate) and a specific resource (multi-language fan-out), which is materially clearer than the title alone. It never names the sibling run_estimate, so an agent must infer that this is the group/language-version variant rather than the single-document one.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance is given. Nothing says this is the pre-flight check before group_run_start, nor how it relates to run_estimate for single documents; the pre-run sequencing is only weakly implied by the word "Estimate".

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.