Skip to main content
Glama
folio-pdf-translate

folio-pdf-translate

by BrotherMou

get_translation_status

Check translation job state, progress, and errors by job_id, then retrieve the completed reviewed bilingual PDF artifact path.

Instructions

Read state/progress/errors and the unique primary_artifact for a returned job_id.

Deliver only primary_artifact.path after state=completed and review. Default kind is bilingual_hover_pdf. The artifacts index contains internal review/auxiliary files, not additional deliverables. Do not deliver previews or partial jobs as a full translation.

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": {
      "job_id": "<job_id>"
    },
    "name": "get_translation_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and largely meets it: it discloses the return contents (state/progress/errors/artifact), states the default artifact kind is bilingual_hover_pdf, and warns that the artifacts index holds internal review/auxiliary files rather than additional deliverables. It does not state explicitly that the call is read-only or side-effect free, nor whether repeated polling has any cost, leaving a modest gap for a tool with zero annotation coverage.

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?

Four short sentences, front-loaded with the read action, then delivery rules, then caveats about auxiliary files and partial jobs. Nearly every sentence earns its place, though 'unique primary_artifact' and the sentence about the artifacts index restate the same non-deliverable point from two angles.

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

Completeness4/5

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

There is no output schema, so the description must explain returns, and it does: state, progress, errors, artifact path, and default kind. Combined with the delivery and exclusion rules, an agent has enough to call and interpret the result, with only minor gaps around error/retry semantics for a job still in progress.

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?

Only one parameter exists and schema description coverage is 0%, so the description must compensate. It adds some meaning by calling it "a returned job_id," implying the identifier originates from a prior start/submit response, but it gives no format, provenance detail, or error behavior for an invalid or expired id.

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 opens with a specific verb ("Read") and enumerates the resource returned: state, progress, errors, and the unique primary_artifact for a job_id. It is clearly a status-polling tool rather than a mutation, which implicitly separates it from start_translation or cancel_translation, though it never names an alternative explicitly.

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?

It gives concrete downstream guidance: deliver only primary_artifact.path once state=completed after review, and explicitly excludes previews or partial jobs from being treated as a full translation. What is missing is guidance on polling cadence or what to do when state is still in progress or errored—the exclusions are strong but the positive 'when to call' condition is only implied by 'for a returned job_id'.

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