Skip to main content
Glama

Save to my account

save_program
DestructiveIdempotent

Save a program to the user's account ('save this for later'); the same programId updates it. Needs the user's Rhylthyme account.

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": {
      "program": "<program>"
    },
    "name": "save_program"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoAccess token from the login tool. Omit when the account is connected.
programYesProgram JSON; shape under validate_program.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed13 schema fields changed
    • changedInput schema / properties / program / description
      Previous value: -"Rhylthyme program JSON. Read rhylthyme://guide/authoring for the rules."New value: +"Program JSON; shape under validate_program."
    • removedInput schema / properties / program / properties / actors
      Removed value: -{
      -  "description": "How many people are available to work steps concurrently.",
      -  "maximum": 9007199254740991,
      -  "minimum": -9007199254740991,
      -  "type": "integer"
      -}
    • removedInput schema / properties / program / properties / description
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / program / properties / environment
      Removed value: -{
      -  "description": "Optional environmentId whose resourceConstraints apply.",
      -  "type": "string"
      -}
    • removedInput schema / properties / program / properties / environmentType
      Removed value: -{
      -  "description": "kitchen | laboratory | event | gym | bakery | manufacturing | general …",
      -  "type": "string"
      -}
    • removedInput schema / properties / program / properties / metadata
      Removed value: -{
      -  "additionalProperties": {},
      -  "properties": {
      -    "attribution": {
      -      "type": "string"
      -    },
      -    "ingredients": {
      -      "items": {
      -        "additionalProperties": {},
      -        "properties": {
      -          "measure": {
      -            "type": "string"
      -          },
      -          "name": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "name"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "serves": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "number"
      -        }
      -      ]
      -    },
      -    "sourceUrl": {
      -      "type": "string"
      -    },
      -    "thumbnail": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedInput schema / properties / program / properties / name
      Removed value: -{
      -  "description": "Human-readable name",
      -  "type": "string"
      -}
    • removedInput schema / properties / program / properties / programId
      Removed value: -{
      -  "description": "Kebab-case identifier",
      -  "type": "string"
      -}
    • removedInput schema / properties / program / properties / resourceConstraints
      Removed value: -{
      -  "items": {
      -    "additionalProperties": {},
      -    "properties": {
      -      "description": {
      -        "type": "string"
      -      },
      -      "maxConcurrent": {
      -        "maximum": 9007199254740991,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "task": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "task",
      -      "maxConcurrent"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedInput schema / properties / program / properties / schemaVersion
      Removed value: -{
      -  "default": "0.1.0",
      -  "type": "string"
      -}
    • removedInput schema / properties / program / properties / tracks
      Removed value: -{
      -  "items": {
      -    "additionalProperties": {},
      -    "properties": {
      -      "description": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "replicates": {
      -        "additionalProperties": {},
      -        "properties": {
      -          "count": {
      -            "maximum": 9007199254740991,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "delay": {
      -            "anyOf": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "string"
      -              }
      -            ],
      -            "description": "Seconds as a number, or a time string like \"5m\", \"1h30m\", \"90s\"."
      -          },
      -          "mode": {
      -            "enum": [
      -              "parallel",
      -              "stagger",
      -              "serial"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "count"
      -        ],
      -        "type": "object"
      -      },
      -      "steps": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "canAbort": {
      -              "type": "boolean"
      -            },
      -            "choice": {
      -              "additionalProperties": {},
      -              "description": "Branch point: downstream steps with a matching choiceId only run for that option.",
      -              "properties": {
      -                "options": {
      -                  "items": {
      -                    "additionalProperties": {},
      -                    "properties": {
      -                      "choiceId": {
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "choiceId"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "minItems": 2,
      -                  "type": "array"
      -                },
      -                "prompt": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "options"
      -              ],
      -              "type": "object"
      -            },
      -            "description": {
      -              "type": "string"
      -            },
      -            "duration": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "defaultSeconds": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "string"
      -                    }
      -                  ],
      -                  "description": "Seconds as a number, or a time string like \"5m\", \"1h30m\", \"90s\"."
      -                },
      -                "maxSeconds": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "string"
      -                    }
      -                  ],
      -                  "description": "Seconds as a number, or a time string like \"5m\", \"1h30m\", \"90s\"."
      -                },
      -                "minSeconds": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "string"
      -                    }
      -                  ],
      -                  "description": "Seconds as a number, or a time string like \"5m\", \"1h30m\", \"90s\"."
      -                },
      -                "seconds": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "string"
      -                    }
      -                  ],
      -                  "description": "Seconds as a number, or a time string like \"5m\", \"1h30m\", \"90s\"."
      -                },
      -                "triggerName": {
      -                  "type": "string"
      -                },
      -                "type": {
      -                  "description": "fixed: exact seconds. variable: min/max with a default, user can end early. indefinite: runs until the user ends it (give defaultSeconds for planning).",
      -                  "enum": [
      -                    "fixed",
      -                    "variable",
      -                    "indefinite"
      -                  ],
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "type"
      -              ],
      -              "type": "object"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "replicates": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "count": {
      -                  "maximum": 9007199254740991,
      -                  "minimum": 1,
      -                  "type": "integer"
      -                },
      -                "delay": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "string"
      -                    }
      -                  ],
      -                  "description": "Seconds as a number, or a time string like \"5m\", \"1h30m\", \"90s\"."
      -                },
      -                "mode": {
      -                  "enum": [
      -                    "parallel",
      -                    "stagger",
      -                    "serial"
      -                  ],
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "count"
      -              ],
      -              "type": "object"
      -            },
      -            "startTrigger": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "bufferSeconds": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "string"
      -                    }
      -                  ],
      -                  "description": "afterStepWithBuffer: gap after the referenced step ends."
      -                },
      -                "choiceId": {
      -                  "description": "Only run this step if the user picked this option on the referenced step's choice.",
      -                  "type": "string"
      -                },
      -                "event": {
      -                  "description": "afterStep anchor: the referenced step's end (default) or start.",
      -                  "enum": [
      -                    "start",
      -                    "end"
      -                  ],
      -                  "type": "string"
      -                },
      -                "logic": {
      -                  "description": "Compound trigger: wait for all / any of `triggers`.",
      -                  "enum": [
      -                    "all",
      -                    "any"
      -                  ],
      -                  "type": "string"
      -                },
      -                "offsetSeconds": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "string"
      -                    }
      -                  ],
      -                  "description": "Delay after the anchor. Negative values ('start 20m before X ends') require the referenced step to be indefinite."
      -                },
      -                "stepId": {
      -                  "description": "Referenced step (afterStep / afterStepWithBuffer / onAbort).",
      -                  "type": "string"
      -                },
      -                "triggerName": {
      -                  "type": "string"
      -                },
      -                "triggers": {
      -                  "items": {
      -                    "additionalProperties": {},
      -                    "properties": {
      -                      "bufferSeconds": {
      -                        "anyOf": [
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "string"
      -                          }
      -                        ],
      -                        "description": "afterStepWithBuffer: gap after the referenced step ends."
      -                      },
      -                      "choiceId": {
      -                        "description": "Only run this step if the user picked this option on the referenced step's choice.",
      -                        "type": "string"
      -                      },
      -                      "event": {
      -                        "description": "afterStep anchor: the referenced step's end (default) or start.",
      -                        "enum": [
      -                          "start",
      -                          "end"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "offsetSeconds": {
      -                        "anyOf": [
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "string"
      -                          }
      -                        ],
      -                        "description": "Delay after the anchor. Negative values ('start 20m before X ends') require the referenced step to be indefinite."
      -                      },
      -                      "stepId": {
      -                        "description": "Referenced step (afterStep / afterStepWithBuffer / onAbort).",
      -                        "type": "string"
      -                      },
      -                      "triggerName": {
      -                        "type": "string"
      -                      },
      -                      "type": {
      -                        "description": "programStart: at t=0. programStartOffset: offsetSeconds after t=0. afterStep: when stepId ends (or starts, with event='start') plus offsetSeconds. afterStepWithBuffer: after stepId ends plus bufferSeconds. manual: user taps to start. onAbort: only if stepId is aborted.",
      -                        "enum": [
      -                          "programStart",
      -                          "programStartOffset",
      -                          "afterStep",
      -                          "afterStepWithBuffer",
      -                          "manual",
      -                          "onAbort"
      -                        ],
      -                        "type": "string"
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "type": {
      -                  "description": "As for a single trigger; \"compound\" is an optional label for a logic/triggers trigger.",
      -                  "enum": [
      -                    "programStart",
      -                    "programStartOffset",
      -                    "afterStep",
      -                    "afterStepWithBuffer",
      -                    "manual",
      -                    "onAbort",
      -                    "compound"
      -                  ],
      -                  "type": "string"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "stepId": {
      -              "description": "Unique across the WHOLE program.",
      -              "type": "string"
      -            },
      -            "task": {
      -              "description": "Resource this step occupies; must match a resourceConstraints[].task.",
      -              "type": "string"
      -            },
      -            "tasks": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "stepId",
      -            "name",
      -            "duration",
      -            "startTrigger"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "trackId": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "trackId",
      -      "name",
      -      "steps"
      -    ],
      -    "type": "object"
      -  },
      -  "minItems": 1,
      -  "type": "array"
      -}
    • removedInput schema / properties / program / required
      Removed value: -[
      -  "programId",
      -  "name",
      -  "tracks"
      -]
    • changedInput schema / properties / token / description
      Previous value: -"Only for apps without account connection: the access token from the login tool. Leave empty when the account is connected."New value: +"Access token from the login tool. Omit when the account is connected."
  3. Changed2 schema fields changed
    • changedInput schema / properties / token / description
      Previous value: -"Your Rhylthyme access token"New value: +"Only for apps without account connection: the access token from the login tool. Leave empty when the account is connected."
    • changedInput schema / required
      Previous value: -[
      -  "token",
      -  "program"
      -]New value: +[
      +  "program"
      +]
  4. Changed2 schema fields changed
    • changedInput schema / properties / program / properties / tracks / items / properties / steps / items / properties / startTrigger / properties / type / description
      Previous value: -"programStart: at t=0. programStartOffset: offsetSeconds after t=0. afterStep: when stepId ends (or starts, with event='start') plus offsetSeconds. afterStepWithBuffer: after stepId ends plus bufferSeconds. manual: user taps to start. onAbort: only if stepId is aborted."New value: +"As for a single trigger; \"compound\" is an optional label for a logic/triggers trigger."
    • changedInput schema / properties / program / properties / tracks / items / properties / steps / items / properties / startTrigger / properties / type / enum
      Previous value: -[
      -  "programStart",
      -  "programStartOffset",
      -  "afterStep",
      -  "afterStepWithBuffer",
      -  "manual",
      -  "onAbort"
      -]New value: +[
      +  "programStart",
      +  "programStartOffset",
      +  "afterStep",
      +  "afterStepWithBuffer",
      +  "manual",
      +  "onAbort",
      +  "compound"
      +]
  5. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare a non-read-only, destructive, idempotent, closed-world write. The description adds real context beyond them: upsert behavior ('the same programId updates it') and the auth model ('Needs the user's Rhylthyme account'), matching the token-omission note in the schema. It does not explain what destruction means in practice (overwriting an existing saved program) or what a save returns.

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?

A single front-loaded sentence with an intent gloss and an auth prerequisite, with no filler. The programId clause is the one piece that doesn't earn its place, since no such parameter exists.

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 nested-object mutation with no output schema, the description covers auth and the shape reference, which is helpful. But it never says where the 'programId' for updates comes from, whether saving overwrites prior content, or what the caller gets back, leaving an agent unsure how to perform an update versus a first save.

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 100%, so 'token' and 'program' are already documented, including the pointer to validate_program for program shape; baseline 3 applies. The description's only added parameter claim is the reference to a 'programId' that does not exist as an input, which is more likely to confuse than clarify.

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 ('Save a program to the user's account') and clarifies intent with the quoted 'save this for later'. It doesn't name a sibling tool for contrast, and the clause 'the same programId updates it' introduces an identifier that isn't in the schema, which slightly muddies the picture.

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?

The parenthetical 'save this for later' and the requirement of a Rhylthyme account imply when the tool applies, and the account prerequisite is useful. However, there is no explicit when-not guidance and no routing to alternatives such as import_from_source, publish_timeline_image, or list_my_programs.

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.