Skip to main content
Glama

Quote a reference analysis

quote_analysis
Read-only

Price analyze_reference for an asset_id or source_url and a mode (70 full, 10 data, charged once it succeeds): 0 when a start would answer an existing analysis or redo an old one free. Show repeat_note.

Instructions

Price analyze_reference for an asset_id or source_url and a mode (70 full, 10 data, charged once it succeeds): 0 when a start would answer an existing analysis or redo an old one free. Show repeat_note. A YouTube or unknown link is refused. Free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "quote_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNofull (default, 70 credits): the reference_profile. data (10 credits): duration, size, timed transcript, hook and a 3×3 frame sheet.
asset_idNo
source_urlNo
max_creditsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.61.0
    • addedInput schema / properties / max_credits
      Added value: +{
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Changed4 schema fields changedv0.45.0
    • removedInput schema / properties / asset_id / description
      Removed value: -"asset_id of an MP4 asset of this account, at most 120 s and 100 MiB"
    • changedInput schema / properties / mode / description
      Previous value: -"full (default, 70 credits): the reference_profile. data (10 credits): duration, size, timed transcript, hook and a 3×3 frame sheet, without beats or graphics"New value: +"full (default, 70 credits): the reference_profile. data (10 credits): duration, size, timed transcript, hook and a 3×3 frame sheet."
    • removedInput schema / properties / source_url / description
      Removed value: -"instead of asset_id: an Instagram reel or post link (instagram.com/reel/<code>, /reels/<code>, /p/<code>) or a TikTok video link…"
    • removedInput schema / properties / source_url / format
      Removed value: -"starts_with"
  3. Changed3 schema fields changedv0.39.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / mode / description
      Previous value: -"full (default, 70 credits): the reference_profile. data (10 credits): duration, size, timed transcript, hook and a 3×3 frame sheet, without the vision pass"New value: +"full (default, 70 credits): the reference_profile. data (10 credits): duration, size, timed transcript, hook and a 3×3 frame sheet, without beats or graphics"
    • changedInput schema / properties / source_url / description
      Previous value: -"instead of asset_id: an Instagram reel or post link (instagram.com/reel/<code>, /reels/<code>, /p/<code>) or a TikTok video link (tiktok.com/@<user>/video/<id>, vm.tiktok.com/<code>); YouTube is refused"New value: +"instead of asset_id: an Instagram reel or post link (instagram.com/reel/<code>, /reels/<code>, /p/<code>) or a TikTok video link…"
  4. Changed3 schema fields changedv0.36.0
    • addedInput schema / properties / mode
      Added value: +{
      +  "description": "full (default, 70 credits): the reference_profile. data (10 credits): duration, size, timed transcript, hook and a 3×3 frame sheet, without the vision pass",
      +  "enum": [
      +    "full",
      +    "data"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / source_url
      Added value: +{
      +  "description": "instead of asset_id: an Instagram reel or post link (instagram.com/reel/<code>, /reels/<code>, /p/<code>) or a TikTok video link (tiktok.com/@<user>/video/<id>, vm.tiktok.com/<code>); YouTube is refused",
      +  "format": "starts_with",
      +  "maxLength": 2048,
      +  "pattern": "^https:\\/\\/.*",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "asset_id"
      -]
  5. Addedv0.35.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish readOnlyHint/destructiveHint=false, so the bar is lower, and the description still adds real behavior: credits are charged only on success, a quote can return 0 when analysis already exists or would be redone, a repeat_note is surfaced, and certain URLs are rejected. Those charging and refusal semantics go well beyond the structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single dense sentence with no filler, and cost information is front-loaded. However, the nested parentheticals and the trailing 'Free.' are hard to parse and risk being read as contradicting the credit figures stated moments earlier.

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?

For a 4-parameter pricing tool with no output schema, the description covers cost, charging timing, refusal cases and the repeat_note signal, which is a fair amount. Still missing are the role of max_credits and any indication of what the quote response contains beyond repeat_note.

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 only 25%, and the description compensates partially by tying mode values to prices (70 full, 10 data) and framing asset_id vs source_url as an either/or input. It says nothing about max_credits or what the asset_id/source_url patterns mean, so a quarter of the parameters remain unexplained in both schema and description.

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 names a concrete verb+resource: it prices analyze_reference for a given asset_id/source_url and mode, which distinguishes it from the sibling that actually performs the analysis. The phrasing 'Price analyze_reference' is compressed but unambiguous enough for an agent to identify the tool as a cost-preview step.

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?

Usage is implied rather than stated: the 0-cost case ('when a start would answer an existing analysis or redo an old one free') hints you should quote before starting, and it flags that YouTube/unknown links are refused. It never explicitly says 'call this before analyze_reference' or names get_reference_analysis as the way to check an existing result, leaving the sequencing to inference.

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