Skip to main content
Glama

LLMExpert transcription

Add a source to a channel

add_source

Add a source to a channel and begin background ingestion. Maps to POST /v1/channels/{channelId}/sources. Only type: video is processed today; document and website are reserved and return a 501 error until released. Requires the key's write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesThe source to add (discriminated on `type`).
channel_idYesChannel to add the source to.
idempotency_keyNoIdempotency-Key for safe retries.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true), it discloses that ingestion runs in the background (async), that two source types fail with 501 until released, and that a write-scoped key is required. These are exactly the behavioral traits an agent needs before calling a mutating tool.

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?

Three tight sentences: action, endpoint mapping, then constraints. Constraints are front-loaded rather than buried, and no sentence is wasted.

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?

For an async mutation with no output schema and fully documented params, the description covers action, auth, and failure modes. It omits what success returns (e.g. an ingestion/job handle) and how it relates to add_sources, which an agent choosing between the two would want.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine value about the `type` discriminator by explaining the runtime status of each value (video supported, document/website reserved with 501). channel_id and idempotency_key semantics are left to the schema.

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 ('Add a source to a channel') and even names the underlying endpoint, so the operation is unambiguous. It does not differentiate from the sibling add_sources, leaving the singular/plural distinction to 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 Guidelines4/5

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

Gives real usage conditions: only type: video works today, document/website return 501, and the key needs write scope. It stops short of routing to alternatives such as add_sources for batch adds or get_status for polling ingestion.

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