Skip to main content
Glama

prepare

Sets up a work directory for translating a scientific paper into a target language, configuring source and target language codes plus TeX/PDF route before translation.

Instructions

Prepare the work directory for translation into a language. See guide.

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": {
      "work": "<work>",
      "lang": "<lang>"
    },
    "name": "prepare"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNosource language code (default en)
langYestarget language code
workYeswork directory
routeNotranslation route: tex or pdf (default auto)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already establish that this mutates (readOnlyHint=false) but is not destructive, so the description's 'prepare' adds little. It does not disclose whether existing work directories are overwritten, whether the operation is idempotent, what files or configuration it creates, or what prerequisites (e.g., the work directory existing) are required.

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?

Two short sentences with the purpose front-loaded and no redundant wording. The 'See `guide`' sentence is a legitimate routing pointer, though it displaces information that would have been more useful inline.

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?

This is a mutating preparation step with four parameters and no output schema, so the description carries responsibility for explaining side effects and expected outcome. Instead it omits what preparation produces, whether repeated calls are safe, and how failures should be interpreted, leaving the agent to consult 'guide' before it can call this confidently.

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%, so all four parameters are already documented in the schema. The description only echoes the target-language concept and adds no detail about 'from', 'route', or what 'work' must point to, 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?

The description gives a concrete verb and resource ('Prepare the work directory') plus the intended outcome ('for translation into a language'), so an agent knows roughly what the call accomplishes. It does not distinguish this from siblings like 'setup' or 'build', so it stops short of a 5.

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?

The only guidance is 'See `guide`', which defers the decision to another tool rather than stating when this tool is appropriate. There are no explicit conditions, no when-not guidance, and no comparison to alternatives such as 'setup' or 'build'.

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

Deploy Server

Other Tools