Skip to main content
Glama

Review a translation quote

dub_quote_translation
Idempotent

Use after preparation finishes. Show full.requiredSeconds as minutes and seconds before asking for approval. If full.deficitSeconds is positive, explain that the account has insufficient minutes. A quote does not consume minutes or start processing.

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": {
      "sourceAssetId": "<sourceAssetId>",
      "targetLanguage": "<targetLanguage>"
    },
    "name": "dub_quote_translation"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceAssetIdYesThe assetId of media uploaded and completed through the DubSync upload API.
targetLanguageYesA language code returned by dub_list_languages.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / properties / data / additionalProperties
      Added value: +false
    • removedOutput schema / properties / data / description
      Removed value: -"The safe public API response, or resumable-upload status."
    • addedOutput schema / properties / data / properties
      Added value: +{
      +  "freePreview": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "availableSeconds": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "durationSeconds": {
      +            "minimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "availableSeconds",
      +          "durationSeconds"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "full": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "deficitSeconds": {
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "requiredSeconds": {
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "requiredSeconds",
      +      "deficitSeconds"
      +    ],
      +    "type": "object"
      +  },
      +  "remainingSeconds": {
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  "sourceAssetId": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "sourceDurationMs": {
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  "sourceMimeType": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  }
      +}
    • addedOutput schema / properties / data / required
      Added value: +[
      +  "sourceAssetId",
      +  "sourceDurationMs",
      +  "sourceMimeType",
      +  "remainingSeconds",
      +  "full"
      +]
    • addedOutput schema / properties / data / type
      Added value: +"object"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The description adds important behavior beyond the annotations: it states that a quote does not consume minutes or start processing, and it explains how to present required and deficit minutes. This clarifies side effects despite readOnlyHint being false, though it does not cover auth, rate limits, or error handling.

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 short and each sentence carries useful information, but it front-loads a vague usage condition over an explicit statement of what the tool does. Minor restructuring would improve clarity without changing length.

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?

For a two-parameter tool with an output schema and annotations, the description covers the key non-mutation behavior and output presentation rules. The main gap is that 'preparation finishes' is never tied to a concrete sibling or status check, which could leave an agent unsure when the tool is ready to use.

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 100%, so the input schema already documents both parameters. The description does not add meaning beyond the schema for sourceAssetId or targetLanguage; the mention of 'preparation' is too vague to clarify parameter usage.

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 title and description together make clear this tool reviews a translation quote, and mentions requiredSeconds and deficitSeconds. However, the description opens with a usage condition rather than an explicit action verb and resource, and it does not distinguish the tool from siblings like dub_get_balance.

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?

It gives a timing hint ('Use after preparation finishes') and an approval-context hint ('before asking for approval'), but 'preparation' is not defined and no alternative or prerequisite tool is named. The guidance is implied rather than explicit.

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.

Resources