Skip to main content
Glama

schedule_file

Schedules an uploaded file into a chosen show instance at a specified start time. Automatically calculates the end time from the file duration to fill show slots accurately.

Instructions

Schedule an uploaded file into a show instance at a specific time. Fetches the file duration automatically to calculate the end time. Use get_show_instances to find the instance ID for the show slot you want to fill.

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": {
      "instance_id": "<instance_id>",
      "file_id": "<file_id>",
      "starts_at": "<starts_at>"
    },
    "name": "schedule_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYesID of the uploaded file to schedule
positionNoPosition in the show queue (defaults to 0)
starts_atYesISO 8601 datetime for when the file should start playing
instance_idYesShow instance ID to schedule into

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden, and it does disclose one real behavior: file duration is fetched automatically to compute the end time. It does not cover permissions, what happens on conflicting or overlapping schedules, whether the scheduling is reversible, or what a successful call returns.

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 the core action front-loaded, followed by the automatic duration behavior and the prerequisite lookup. No sentence is redundant and nothing is buried.

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?

For a write operation with no annotations and no output schema, the description covers purpose, a key side effect, and the ID-discovery step, which is most of what an agent needs. It leaves out error and conflict behavior and any indication of the response, which matters for a mutation tool with zero annotation coverage.

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%, so all four parameters are already documented in the schema. The description reinforces starts_at and instance_id in prose but adds no new meaning, and it says nothing about the optional position parameter beyond what the schema states.

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: scheduling an uploaded file into a show instance at a given time. That is clearly distinct from sibling operations like upload_file, add_to_playlist, or update_file_metadata, though the description never explicitly contrasts with them.

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 a concrete prerequisite workflow by directing the agent to get_show_instances to obtain the instance_id before calling. It does not state any when-not conditions or explain how this differs from adjacent actions like add_to_playlist.

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