Skip to main content
Glama

Quote an upscale

quote_upscale
Read-only

Price an upscale before rendering: preview a clip at 720p or a doubled image without spending credits, and failed attempts cost nothing.

Instructions

Price an upscale WITHOUT spending credits: a draft clip to 720p, a picture doubled. A failed one costs nothing.

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": "quote_upscale"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
max_creditsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.73.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds genuinely new behavioral facts: no credits are consumed and failures are free. It does not mention whether results expire or whether max_credits acts as a hard cap, which would complete the picture.

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 clauses, front-loaded with the key differentiator (no credit spend), with zero filler. 'A draft clip to 720p, a picture doubled' is slightly compressed and reads as illustrative examples rather than precise scope.

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 0% schema coverage and no output schema, the description leaves an agent unable to tell which source form to supply, what max_credits does, or what a quote returns (credit estimate? resolution?). For a quoting tool with a nested union parameter, that is a substantial gap.

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 description coverage is 0%, so the description must carry parameter meaning and it does not: the three-way 'source' union (run_id / asset_id / upload_id + rights_confirmed) is never explained, nor is max_credits. 'A draft clip to 720p, a picture doubled' describes upscale targets, not the parameters.

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?

Names a specific verb and resource ('Price an upscale') and scopes it as a no-cost preview, which separates it from the 'upscale' sibling by implication. It stops short of naming the sibling that actually spends credits, so the distinction must be inferred.

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?

The 'WITHOUT spending credits' framing implies this is a dry-run to use before committing to a real upscale, and 'a failed one costs nothing' reassures about retries. There is no explicit when-to-use/when-not statement or named alternative.

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