Skip to main content
Glama

Set podcast source policy

set_source_policy

Only call after the user gives explicit confirmation for this change. Change one configured source between preference-based best episodes and all new episodes. List sources first if the ID is not already known.

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": {
      "source_id": "<source_id>",
      "selection_mode": "<selection_mode>"
    },
    "name": "set_source_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
source_idYesStable ID from list_podcast_sources
selection_modeYesUse best for preference-based selection, or all to include every new episode from this source.

Output Schema

NameRequiredDescriptionDefault
sourceYes
content_originNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare a non-read-only, non-destructive, closed-world mutation, and the description adds the important human-in-the-loop requirement of explicit confirmation before the call. It does not state whether a previously set mode can be restored or what happens if the source is removed later, but the critical policy constraint is disclosed.

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 short sentences with zero filler; the confirmation gate is front-loaded, the effect comes second, and the ID-resolution hint is last. Nothing is repeated unnecessarily.

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?

For a two-parameter mutation with full schema coverage, an enum, annotations, and an output schema, the description supplies everything an agent needs: the safety gate, the behavior, and how to resolve the identifier. Return values need not be described because an output schema exists.

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%, and the enum already spells out 'best' vs 'all' semantics, so the schema carries most of the meaning. The description echoes the mode distinction and hints at how to obtain source_id, but adds no format or constraint detail beyond the schema text.

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?

The description names a specific verb and resource ('Change one configured source') and explains the exact effect: switching between preference-based best episodes and all new episodes. It is clearly distinguishable from add_podcast_source and remove_podcast_source, which alter the source list rather than its selection mode.

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?

It gives an explicit precondition ('Only call after the user gives explicit confirmation') and a concrete routing rule ('List sources first if the ID is not already known'). What is missing is any exclusion of sibling operations, e.g. that this tool cannot add a new source and that add_podcast_source should be used instead.

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