Skip to main content
Glama

Explain clips

explain_clips
Read-onlyIdempotent

Use this when the user wants to know which clip to post first, why a clip was picked, or whether it is ready to post: "which clip should I post first", "is this good enough to post", "does it pass the campaign rules". Per clip: score (0-1) and rank in its batch, reasons, transcript, position in the source, why_it_should_work and "ok:" or "fix:" checks (hook, dead air, captions, length, watermark). The score ranks clips against each other; it is not a forecast of views, so do not present it as one. Not for: listing clips (list_clips) or results after posting (why_it_worked). Free and read only.

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

Input Schema

NameRequiredDescriptionDefault
job_idNoA finished clip job, to explain all its clips. Give this or clip_ids.
clip_idsNoClip ids from list_clips, up to 20.
hashtagsNoHashtags the caption must carry, e.g. ["#ad"].
must_sayNoWords or names the clip must say.
campaign_max_secondsNoCampaign maximum clip length in seconds; 0 is none.
campaign_min_secondsNoCampaign minimum clip length in seconds; 0 is none.

Output Schema

NameRequiredDescriptionDefault
noteYes
clipsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changed
    • removedInput schema / properties / campaign_max_seconds / default
      Removed value: -0
    • removedInput schema / properties / campaign_min_seconds / default
      Removed value: -0
    • removedInput schema / properties / clip_ids / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / clip_ids / default
      Removed value: -null
    • addedInput schema / properties / clip_ids / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / clip_ids / type
      Added value: +"array"
    • removedInput schema / properties / hashtags / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / hashtags / default
      Removed value: -null
    • addedInput schema / properties / hashtags / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / hashtags / type
      Added value: +"array"
    • removedInput schema / properties / job_id / default
      Removed value: -""
    • removedInput schema / properties / must_say / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / must_say / default
      Removed value: -null
    • addedInput schema / properties / must_say / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / must_say / type
      Added value: +"array"
  2. Changed13 schema fields changed
    • addedInput schema / properties / campaign_max_seconds / description
      Added value: +"Campaign maximum clip length in seconds; 0 is none."
    • removedInput schema / properties / campaign_max_seconds / title
      Removed value: -"Campaign Max Seconds"
    • addedInput schema / properties / campaign_min_seconds / description
      Added value: +"Campaign minimum clip length in seconds; 0 is none."
    • removedInput schema / properties / campaign_min_seconds / title
      Removed value: -"Campaign Min Seconds"
    • addedInput schema / properties / clip_ids / description
      Added value: +"Clip ids from list_clips, up to 20."
    • removedInput schema / properties / clip_ids / title
      Removed value: -"Clip Ids"
    • addedInput schema / properties / hashtags / description
      Added value: +"Hashtags the caption must carry, e.g. [\"#ad\"]."
    • removedInput schema / properties / hashtags / title
      Removed value: -"Hashtags"
    • addedInput schema / properties / job_id / description
      Added value: +"A finished clip job, to explain all its clips. Give this or clip_ids."
    • removedInput schema / properties / job_id / title
      Removed value: -"Job Id"
    • addedInput schema / properties / must_say / description
      Added value: +"Words or names the clip must say."
    • removedInput schema / properties / must_say / title
      Removed value: -"Must Say"
    • removedInput schema / title
      Removed value: -"explain_clipsArguments"
  3. Changed6 schema fields changed
    • addedInput schema / properties / campaign_max_seconds
      Added value: +{
      +  "default": 0,
      +  "title": "Campaign Max Seconds",
      +  "type": "number"
      +}
    • addedInput schema / properties / campaign_min_seconds
      Added value: +{
      +  "default": 0,
      +  "title": "Campaign Min Seconds",
      +  "type": "number"
      +}
    • addedInput schema / properties / hashtags
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Hashtags"
      +}
    • addedInput schema / properties / must_say
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Must Say"
      +}
    • addedOutput schema / $defs / ClipWhy / properties / checks
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "Checks",
      +  "type": "array"
      +}
    • changedOutput schema / $defs / ClipWhy / required
      Previous value: -[
      -  "clip_id",
      -  "title",
      -  "score",
      -  "rank_in_batch",
      -  "batch_size",
      -  "reasons",
      -  "transcript",
      -  "source_start_seconds",
      -  "source_end_seconds",
      -  "duration_seconds",
      -  "kind",
      -  "post_caption",
      -  "hashtags",
      -  "why_it_should_work",
      -  "editor_url"
      -]New value: +[
      +  "clip_id",
      +  "title",
      +  "score",
      +  "rank_in_batch",
      +  "batch_size",
      +  "reasons",
      +  "transcript",
      +  "source_start_seconds",
      +  "source_end_seconds",
      +  "duration_seconds",
      +  "kind",
      +  "post_caption",
      +  "hashtags",
      +  "why_it_should_work",
      +  "editor_url",
      +  "checks"
      +]
  4. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the supplied annotations (readOnly/idempotent/destructive false) by disclosing what the score actually means — a relative rank within the batch, not a view forecast — and instructing the agent not to present it as one, which prevents a real misuse. It also declares cost ('Free') and enumerates the specific check categories (hook, dead air, captions, length, watermark) the caller will receive.

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

Conciseness5/5

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

The trigger condition is front-loaded in the first clause, followed by the payload, the score-semantics caveat, and the exclusions in a tight escalating structure. Every sentence earns its place; the example utterances and the caveat both carry distinct decision-relevant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Although an output schema exists, the description still summarizes the per-clip fields an agent needs for routing decisions, and it covers scope, cost, safety posture and the key interpretation pitfall for a 6-parameter analytic tool. Nothing needed to call it correctly or to relay its results honestly appears to be missing.

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 description coverage is 100%, so job_id, clip_ids, hashtags, must_say and the campaign length bounds are already documented; the description does not add format or edge-case detail for any of them. It only supplies indirect context by framing the output as 'does it pass the campaign rules', which hints at how the campaign parameters are consumed, meriting the baseline rather than more.

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+resource and enumerates exactly what the tool returns per clip (score 0-1, batch rank, reasons, transcript, source position, why_it_should_work, ok:/fix: checks), so an agent knows precisely what it is invoking. It also explicitly contrasts itself with list_clips and why_it_worked, so it is distinguishable from siblings 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Opens with a trigger condition ('when the user wants to know which clip to post first, why a clip was picked, or whether it is ready to post') backed by three literal example utterances. It closes with explicit exclusions naming the alternative tools ('Not for: listing clips (list_clips) or results after posting (why_it_worked)'), covering both when-to-use and when-not-to-use.

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