Skip to main content
Glama

Quote a shot candidate

quote_candidate
Read-only

Price a shot candidate without spending credits and see the last moment it can enter revision; delivered candidates cost one unit, failed or closed ones cost nothing.

Instructions

Price one shot candidate WITHOUT spending credits; usable_until is the last moment it can enter a revision. A delivered candidate is charged its one unit whether it is kept or discarded; one that fails is charged nothing. While shot candidates are closed it answers editing_disabled and charges 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": {
      "run_id": "<run_id>",
      "shot_id": "<shot_id>",
      "operation": "<operation>"
    },
    "name": "quote_candidate"
  }
}

Input Schema

NameRequiredDescriptionDefault
takeNo
run_idYes
shot_idYes
operationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.45.0
    • removedInput schema / properties / operation / description
      Removed value: -"What to generate: one of the operations get_run_shots lists for the shot."
    • removedInput schema / properties / run_id / description
      Removed value: -"The faceless run whose shot the candidate is for: a succeeded original or revision."
    • removedInput schema / properties / shot_id / description
      Removed value: -"The shot to make a candidate for, as get_run_shots names it."
    • removedInput schema / properties / take / description
      Removed value: -"Take number, 1 by default: the same request and take return the same run; take 2 makes another candidate."
  2. Changed3 schema fields changedv0.39.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / operation / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mode": {
      -        "const": "retake",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "maxLength": 600,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "mode": {
      -        "const": "new_picture",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "description"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "instruction": {
      -        "maxLength": 600,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "mode": {
      -        "const": "edit_picture",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "instruction"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mode": {
      -        "const": "animate",
      -        "type": "string"
      -      },
      -      "motion": {
      -        "maxLength": 300,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "mode": {
      +        "const": "retake",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "description": {
      +        "maxLength": 600,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "mode": {
      +        "const": "new_picture",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "description"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "instruction": {
      +        "maxLength": 600,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "mode": {
      +        "const": "edit_picture",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "instruction"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "mode": {
      +        "const": "animate",
      +        "type": "string"
      +      },
      +      "motion": {
      +        "maxLength": 300,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedInput schema / properties / take / maximum
      Removed value: -9007199254740991
  3. Addedv0.29.0

TDQS

A3.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true/destructiveHint=false; the description goes well beyond them by disclosing the billing model (a delivered candidate is charged one unit whether kept or discarded, a failed one costs nothing) and an explicit failure mode ('while shot candidates are closed it answers editing_disabled and charges nothing'). That is exactly the kind of side-effect and cost context an agent needs before firing a quoting call in a credit-metered system.

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?

Three sentences, no filler, and the most decision-relevant fact (no credit spend) is front-loaded before the caveats. The middle clause about usable_until is compressed to the point of ambiguity, slightly undercutting the otherwise tight structure.

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?

For a tool with a required nested oneOf operation across four distinct modes, 0% parameter documentation, and no output schema, the description covers behavior but leaves the invocation surface entirely unexplained. An agent knows what the call costs and when it is rejected, but not how to choose a mode or what take does.

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 carries the full burden, yet it explains none of the four parameters: run_id, shot_id, take, and the operation oneOf with four undocumented modes (retake, new_picture, edit_picture, animate) are untouched. Worse, the only named term, usable_until, is not a parameter at all, which can misdirect an agent looking for input guidance.

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?

"Price one shot candidate WITHOUT spending credits" names a specific verb (price) and resource (shot candidate) and immediately states the defining constraint that separates it from create_candidate/generate-style siblings. An agent can tell this is a dry-run cost estimate without opening the schema.

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 the intended use (cost-check before committing), and the delivery/failure charging rules imply what happens after quoting. However, no sibling is named as the alternative (create_candidate, quote_revision, quote_image all exist but are never referenced), and the 'usable_until' clause is cryptic without stating whether it is an input or a return value.

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