Skip to main content
Glama

upsert_season

Add a new season or update an existing one (matched by number): premise (logline/outline), title, visual style. Style/premise changes re-mirror into that season's existing episodes.

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": {
      "seriesId": "<seriesId>",
      "number": "<number>"
    },
    "name": "upsert_season"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNoVisual style shared by the season.
titleNo
numberYesSeason number (1-based).
loglineNoSeason premise.
outlineNoBeat-level season outline.
seriesIdYesThe series id (uuid).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose an important side effect: style or premise changes re-mirror into existing episodes. However, it omits permissions, reversibility, overwrite semantics for omitted optional fields, and error behavior.

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?

Two sentences, front-loaded with the action and match rule, followed by the key side effect. There is no redundant wording and every sentence contributes useful information.

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?

Captures the core upsert behavior and the re-mirror side effect, which is valuable for a mutation tool. For an unannotated tool with no output schema, it still lacks clarity on update semantics when optional fields are omitted and on safety or permission details.

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 high at 83%, so the schema already documents most parameters. The description adds some meaning by grouping logline and outline as 'premise' and clarifying that number is the match key, but it does not add much detail for seriesId, title, or style beyond 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 and resource: 'Add a new season or update an existing one (matched by number).' It clearly distinguishes create-vs-update via the match key, but does not explicitly differentiate itself from season planning or generation siblings.

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?

Explains the upsert matching condition by season number and lists writable aspects such as premise, title, and visual style. It does not give explicit when-to-use guidance versus plan_season, control_season_generation, or start_season_generation, nor does it state prerequisites or exclusions.

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