Skip to main content
Glama
getsimba-ai

Simba MCP Server

Official
by getsimba-ai

Revise Study Recipe

revise_study_recipe

Create an immutable revision of a study recipe with version checks, guarding against stale edits and optionally linking a same-study source revision.

Instructions

Create an immutable revision. Earlier versions inherit influence automatically; optional source_revision_id additionally links a same-study source recipe. Optional expected_content_hash guards effective inputs (409 requires a fresh preview). Supply the current recipe version; stale edits are rejected (412). Reload list_study_recipes, reconcile changes, then submit the current version; never overwrite blindly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
reasonYes
recipe_idYes
specificationYesBackend recipe envelope. api_mmm requires request (a create_model body; model_type must be mmm, unknown config keys are rejected, channel_map and var_model_hash are rejected); model_snapshot requires model_hash and is review-only (launch refused, lineage unknown). Smart priors and VAR recipes are available only through the authoring-draft tools. Unknown fields are forwarded for backend validation. Every saved revision's read-time inspection carries lineage: the dataset origin recorded when the model was built, checked for availability now and never inferred after the fact.
expected_versionYes
source_revision_idNo
expected_content_hashNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.12.0
    • changedInput schema / properties / specification / description
      Previous value: -"Backend recipe envelope. api_mmm requires request (a create_model body; model_type must be mmm, config.auto_prior must be false, channel_map and var_model_hash are rejected); model_snapshot requires model_hash and is review-only (launch refused, lineage unknown). Smart priors and VAR recipes are available only through the authoring-draft tools. Unknown fields are forwarded for backend validation. Every saved revision's read-time inspection carries lineage: the dataset origin recorded when the model was built, checked for availability now and never inferred after the fact."New value: +"Backend recipe envelope. api_mmm requires request (a create_model body; model_type must be mmm, unknown config keys are rejected, channel_map and var_model_hash are rejected); model_snapshot requires model_hash and is review-only (launch refused, lineage unknown). Smart priors and VAR recipes are available only through the authoring-draft tools. Unknown fields are forwarded for backend validation. Every saved revision's read-time inspection carries lineage: the dataset origin recorded when the model was built, checked for availability now and never inferred after the fact."
  2. Changed1 schema field changedv0.8.2
    • changedInput schema / properties / specification / description
      Previous value: -"Backend recipe envelope. api_mmm requires request (a create_model body; model_type must be mmm, config.auto_prior must be false, channel_map and var_model_hash are rejected); model_snapshot requires model_hash and is review-only (launch refused, lineage unknown). Smart priors and VAR recipes are available only through the authoring-draft tools. Unknown fields are forwarded for backend validation."New value: +"Backend recipe envelope. api_mmm requires request (a create_model body; model_type must be mmm, config.auto_prior must be false, channel_map and var_model_hash are rejected); model_snapshot requires model_hash and is review-only (launch refused, lineage unknown). Smart priors and VAR recipes are available only through the authoring-draft tools. Unknown fields are forwarded for backend validation. Every saved revision's read-time inspection carries lineage: the dataset origin recorded when the model was built, checked for availability now and never inferred after the fact."
  3. Changed1 schema field changedv0.7.3
    • changedInput schema / properties / specification / description
      Previous value: -"Backend recipe envelope. api_mmm requires request; model_snapshot requires model_hash and is review-only. Unknown fields are forwarded for backend validation."New value: +"Backend recipe envelope. api_mmm requires request (a create_model body; model_type must be mmm, config.auto_prior must be false, channel_map and var_model_hash are rejected); model_snapshot requires model_hash and is review-only (launch refused, lineage unknown). Smart priors and VAR recipes are available only through the authoring-draft tools. Unknown fields are forwarded for backend validation."
  4. Addedv0.5.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations declare a non-read-only, non-idempotent, non-destructive write (openWorldHint=true), and the description adds substantial behavior beyond that: immutability, automatic influence inheritance from earlier versions, the source_revision_id same-study linkage, the expected_content_hash guard with 409 semantics, and 412 on stale versions. These are exactly the concurrency and lineage traits an agent needs and that structured fields do not carry.

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?

Dense but front-loaded: purpose first, then optional params, then conflict codes, then the recommended workflow. Every sentence carries signal; the only cost is that the semicolon-heavy style makes it slightly harder to scan.

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?

An output schema exists, so return values need no explanation, and the nested specification envelope is documented in the schema itself. The description fully covers the concurrency contract and workflow, leaving only the plain-identity parameters (recipe_id, name, reason) unaddressed.

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 only 14%, so the description must carry the load. It meaningfully explains source_revision_id ('links a same-study source recipe') and expected_content_hash ('guards effective inputs'), but says nothing about recipe_id, name, reason, or expected_version beyond the stale-edit hint. Partial compensation for a low-coverage 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?

States a specific verb and resource: 'Create an immutable revision.' Combined with the behavior notes (immutability, version guarding), an agent can tell this apart from create_study_recipe and refreeze_recipe_revision, though the siblings are never named explicitly. The purpose is unambiguous even without that routing.

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?

Provides a concrete workflow: 'Reload list_study_recipes, reconcile changes, then submit the current version; never overwrite blindly,' plus the stale-edit condition (412). This gives clear when-to-use context, but it never states when NOT to use it versus siblings like update_recipe_draft or refreeze_recipe_revision.

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

Deploy Server

Other Tools