Skip to main content
Glama

Upscale

upscale

Enhance a delivered 480p draft clip or image to higher resolution as a new paid run; quote first to confirm cost, and failed attempts cost nothing.

Instructions

Input: the same fields as quote_upscale, plus attempt. Upscale a delivered clip (a 480p draft) or picture: a NEW run, charged once delivered; a failed one costs nothing. An identical request returns its run; attempt 2 starts another. Price: clip: 2 credits per second of clip; picture: 4 credits per image. Quote first with quote_upscale.

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": {
      "source": "<source>"
    },
    "name": "upscale"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
attemptNo
max_creditsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.73.0

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing billing behavior (charged once delivered, failures cost nothing), concrete prices per second and per image, and idempotency semantics (an identical request returns its existing run; attempt 2 starts a new one). These are exactly the traits an agent needs before triggering a paid mutation.

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?

Dense single block, front-loaded and free of filler; each sentence carries pricing, retry, or idempotency information. The opening 'Input: the same fields as quote_upscale, plus attempt' is the least useful line and leads with an indirection rather than the purpose.

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?

Covers billing, retries, and idempotency well, which is the hard part for a paid mutation with no output schema. However, with a nested 'source' object at 0% schema coverage and an unexplained 'max_credits' parameter, an agent still cannot construct a call without consulting quote_upscale.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across three parameters (including a nested source object), so the description must carry the load. It only partially does: 'attempt' semantics are hinted at ('attempt 2 starts another') but the default and increment rules are unstated, the nested 'source' object is never described, and 'max_credits' is not mentioned at all. 'Same fields as quote_upscale' forces a cross-tool lookup.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (upscale) applied to specific resources (a delivered clip at 480p draft, or a picture), and explicitly positions quote_upscale as the pricing companion. An agent can tell apart the paid execution tool from the quoting tool without opening either schema.

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?

Gives explicit sequencing guidance ('Quote first with quote_upscale') and scope guidance (delivered clips / pictures only). It does not state hard exclusions such as 'do not use for undelivered runs', so it falls short of a full when/when-not treatment.

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