Skip to main content
Glama
Cassette-Editor

oh-my-cassette

cassette_run_job

Submit a user's edit message, wait through progress notifications, and receive the settled result—succeeded, needs_user, review_required, exported, or failed.

Instructions

Run one Cassette edit turn and return when it is settled. This call IS the wait: it streams progress notifications while the agent works and answers with the terminal envelope (succeeded / needs_user / review_required / exported / failed). Pass message as the user's words verbatim. Exactly one cassette_run_job call per user turn: after any settled result, return control to the user. Never start a corrective, retry, or follow-up run in the same user turn, even if you think the edit could be improved. Do not poll cassette_job_status after a settled result; that tool is only for resuming a job whose call was interrupted. Pass wait=false only to deliberately detach the turn into the background. If an explicit export request returns phase=review_required, the user has already authorized export: inspect the attached timeline and call cassette_review_completion in this same assistant turn. Do not ask for redundant confirmation, and do not start another cassette_run_job.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
waitNo
modelNo
exportNo
promptNo
chat_idNo
messageNo
languageNo
selectorsNo
session_idNo
instructionNo
timeout_secNo
chat_messageNo
cassette_modelNo
thinking_levelNo
cassette_messageNo
cassette_languageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataNo
errorNo
phaseYes
job_idNo
warningsNo
artifactsNo
session_idNo
next_actionYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv0.4.19
    • addedOutput schema / $defs / Artifact / properties / expires_at
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Expires At"
      +}
  2. Changed2 schema fields changedv0.4.10
    • changedInput schema / properties / thinking_level / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "off",
      +      "minimal",
      +      "low",
      +      "medium",
      +      "high",
      +      "xhigh"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / wait / default
      Previous value: -falseNew value: +true
  3. Addedv0.4.6

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly explains that the call blocks by acting as the wait, streams progress, returns terminal envelopes, and can be detached via wait=false. It also discloses the review_required branch and the required follow-up action, though it does not describe side effects, authentication, or asset mutation.

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

Conciseness4/5

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

The description is long but information-dense, with the core purpose and blocking behavior front-loaded. Nearly every sentence adds operational value, though some repetition exists around not starting additional runs and not asking for redundant confirmation.

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?

The operational flow is thoroughly explained for the main user-turn lifecycle, and an output schema exists so return-value documentation is not required. However, with no annotations and 17 undocumented parameters, the description is not fully complete for all calling scenarios, especially around the many model, session, and instruction-related parameters.

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

Parameters2/5

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

Schema description coverage is 0% across 17 parameters, yet the description only meaningfully explains message, wait, and export-related behavior. Most parameters, including instruction, prompt, chat_message, cassette_message, selectors, session_id, and cassette_model, are left entirely unexplained, which is a large gap for a zero-coverage schema.

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 states a specific verb and resource: it runs one Cassette edit turn and returns when the result is settled. It also differentiates itself from siblings by naming cassette_job_status and cassette_review_completion, and clearly defines the tool as the waiting call itself.

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?

The description gives unusually explicit usage rules: exactly one call per user turn, never start follow-up runs, do not poll job_status after a settled result, and use wait=false only to detach into the background. It also names the alternative tool for resuming interrupted jobs and the review completion tool for review_required results.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Cassette-Editor/oh-my-cassette'

If you have feedback or need assistance with the MCP directory API, please join our Discord server