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.

Input Schema

TableJSON 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

A4/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=false, destructiveHint=true, and idempotentHint=true. The description adds that the same programId updates it (idempotent behavior) and requires an account, which is beyond the annotations. It does not detail destructive consequences beyond updating, but it doesn't contradict the annotations and adds meaningful context.

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?

The description is two sentences with no redundant words. It front-loads the core purpose, then adds the key update behavior and the account requirement. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has nested objects and no output schema, the description covers the essential context: it saves a program, updates if same programId, and requires an account. It doesn't mention error cases or return values, but those aren't required by the rubric when no output schema exists, and annotations cover safety hints.

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%, and both parameters are described in the input schema (token and program). The description adds no new parameter-level detail beyond mentioning 'programId', which is not a parameter itself. Since the schema fully covers the parameters, the baseline of 3 is appropriate.

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 uses a specific verb ('Save') with a clear resource ('a program to the user's account') and explicitly labels the intent ('save this for later'). It also mentions the idempotent behavior (same programId updates), which differentiates it from load_program and list_my_programs among the 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?

The description gives a prerequisite ('Needs the user's Rhylthyme account') but does not explicitly state when to use this tool over alternatives, nor does it mention any when-not conditions. It implies usage for saving, but lacks explicit routing guidance compared to siblings.

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.