Skip to main content
Glama

refresh_channel

Idempotent

Re-run a channel's last import to pick up new uploads while reusing saved transcripts. Preview first, then confirm to refresh without refetching existing captions.

Instructions

Re-run a channel's last import to pick up new uploads. Saved transcripts are reused, not refetched.

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": {
      "channel": "<channel>"
    },
    "name": "refresh_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelYesChannel URL, @handle or channel ID (UC...).
confirmNoFalse previews; true starts the refresh.
request_keyNoOptional idempotency key.

Output Schema

NameRequiredDescriptionDefault
limitYes
scopeYes
job_idNo
statusYes
channelYes
messageYes
languageYes
will_importYesUpper bound on videos this import covers.
estimated_uploadsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds one genuine behavioral fact beyond them – saved transcripts are reused rather than refetched – but says nothing about job creation, whether the old import is replaced or amended, or how the preview/confirm gate behaves at a workflow level.

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 sentences, front-loaded with the action and followed by the caching behavior. Nothing is redundant, though the second sentence could be tied more clearly to cost/runtime implications.

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

Completeness4/5

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

With an output schema, full parameter descriptions, and annotations covering safety and idempotency, the description only needs to explain refresh semantics – which it does, plus the caching detail. A note on how this relates to an in-flight or prior import job would make it complete.

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 100%, so channel, confirm, and request_key are all documented in the schema, including that confirm=false previews. The description adds no parameter-level meaning beyond that, which is the expected baseline when the schema does the work.

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?

States a specific verb+resource: re-run a channel's last import to pick up new uploads. It distinguishes itself from import_channel by the 'last import' framing, but it never names or contrasts the sibling explicitly.

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 phrase 'to pick up new uploads' implies when to use it (incremental refresh rather than a fresh import), but there is no explicit when-not-to-use guidance or pointer to import_channel for first-time imports.

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