Skip to main content
Glama

Change a slot's idea (and remake its video if it's made)

change_slot_idea
Destructive

Changes the idea of a post in the calendar (Automatic or Manual): for example the user doesn't like the video planned at 16:05 and wants a sales video there. If the slot's video isn't made yet, the new idea is free now: HypeFox makes the video at its usual time (about an hour before it goes out) and it uses credits then (in Automatic it counts as approved). If the video is already made, it starts the new video right away and uses about 0.8 credits, like making a video: say so first. The slot keeps its time; the old video, if it was ready, goes to the reserve (HypeFox uses it later for a slot of the same kind) and its scheduled posts for this slot are withdrawn. Set sales: true to turn it into a sales video (accounts that sell; with DM sales it needs a keyword), sales: false to turn a sales slot into a normal one. A slot to film becomes an AI video. Not for slots that go out within the hour, are already out, or whose video is being made. Show the user what changes (and that it changes this week's 70-20-10 mix if the role changes) and act only on their explicit yes.

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": {
      "slot_id": "<slot_id>",
      "idea": "<idea>"
    },
    "name": "change_slot_idea"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyNoWhy this post changed, shown to the user in the calendar: in their app language, speaking to them (e.g. in English «You asked for a sales video here», in Italian «Hai chiesto un video di vendita qui»)
ideaYesThe new topic of the video, in the language of the videos
angleNoHow to tell it: the angle, the promise, what to show
factsNoReal facts, numbers or story from the user that the video must use. Leave out and a new idea starts without the facts of the old one
salesNotrue = make it a sales video; false = a normal one; leave out to keep the slot's kind
keywordNoSales videos that end in DMs: the keyword people send, 3-12 letters or digits. Default: the project's keyword (sells.keyword)
slot_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / facts / description
      Previous value: -"Real facts, numbers or story from the user that the video must use"New value: +"Real facts, numbers or story from the user that the video must use. Leave out and a new idea starts without the facts of the old one"
  2. Changed1 schema field changed
    • changedInput schema / properties / why / description
      Previous value: -"Why this post changed, shown to the user in the calendar: in their app language, speaking to them (e.g. «Hai chiesto un video di vendita qui»)"New value: +"Why this post changed, shown to the user in the calendar: in their app language, speaking to them (e.g. in English «You asked for a sales video here», in Italian «Hai chiesto un video di vendita qui»)"
  3. Changed1 schema field changed
    • changedInput schema / properties / keyword / description
      Previous value: -"Sales videos that end in DMs: the keyword people send, 3-12 letters or digits"New value: +"Sales videos that end in DMs: the keyword people send, 3-12 letters or digits. Default: the project's keyword (sells.keyword)"
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations only flag readOnly=false, destructive=true and idempotent=false; the description goes well beyond that by quantifying the cost (~0.8 credits, or free-then-counted in Automatic), by naming what is destroyed or displaced (the old ready video goes to the reserve, scheduled posts for the slot are withdrawn), and by noting the 70-20-10 mix side effect. Timing behaviour (materials made about an hour before publishing) is also disclosed. The only missing piece is what the response returns or how failures surface.

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

Conciseness3/5

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

The purpose and the credit warning are front-loaded, which is good, but the remainder is one dense run-on block mixing cost, reserve behaviour, sales semantics, exclusions and confirmation policy. Nothing is clearly wasted, yet the lack of structure (no separation of side effects, preconditions, parameter guidance) makes it slower to parse than it needs to be.

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 destructive, credit-consuming mutation with seven parameters and no output schema, the definition covers cost, side effects, blocked cases, language expectations and the required user confirmation. An agent has everything it needs to call this safely without consulting other tools.

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 86%, so the baseline is 3 and the schema already documents why, idea, angle, facts, sales and keyword. The description does add real meaning for 'sales' (accounts that sell, DM sales needs a keyword) and notes that a slot to film becomes an AI video, but slot_id and the rest are left entirely 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?

A specific verb plus resource: 'Changes the idea of a post in the calendar', extended by the title to note that the video is remade if already produced. The scope of the change (idea, angle, facts, sales kind) is clear, but the description never names a sibling such as update_slot or make_slot_with_ai, so the agent must infer the boundary from the schema rather than from explicit differentiation.

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?

Explicit exclusions are stated: 'Not for slots that go out within the hour, are already out, or whose video is being made.' The workflow prerequisite is spelled out too – show the user the changes, warn about the cost, and act only on their explicit yes – so when to call and when not to call are both unambiguous.

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