Skip to main content
Glama

OpenFactory

seal_walk_baseline

Seal a completed walk into an IMMUTABLE golden state tree and pin it as the active baseline for (you, app_name).

Computes a structural tree_hash (comparable across walks) and a tamper-evidence content_hash, then freezes the walk: its states, transitions, findings, and screenshots can no longer be modified or deleted, and the baseline history is append-only. This is the anchor check_walk_regression compares future walks against so agentic code changes can't silently break UX.

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": {
      "walk_id": "<walk_id>"
    },
    "name": "seal_walk_baseline"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoFreeform note stored with the sealed baseline version.
api_keyNoOpenFactory MCP API key.
walk_idYesCompleted walk to seal into an immutable golden state tree.
app_nameNoBaseline grouping key. Defaults to the walk's app_name.
session_tokenNoSession token echoed by a prior tool.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 and does well: it discloses that states, transitions, findings, and screenshots become non-modifiable and non-deletable, that baseline history is append-only, and that content_hash is tamper-evidence. It does not cover permissions/auth expectations (api_key, session_token), failure behavior for an incomplete walk, or whether re-sealing is possible.

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?

Three sentences, front-loaded with the action and its permanence, with no filler or marketing padding. The middle hash sentence is dense but every clause carries behavioral fact rather than repetition.

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 not be explained, and the irreversible-mutation risk is covered well for a five-parameter tool. Gaps remain around preconditions (what if the walk is not completed) and repeat-invocation behavior, which matter for a one-way freeze operation.

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 the baseline is 3. The description reinforces the semantics of walk_id ('completed walk') and the (you, app_name) grouping key, but it adds no information beyond the schema for notes, api_key, or session_token.

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?

States a specific verb and resource — 'Seal a completed walk into an IMMUTABLE golden state tree and pin it as the active baseline' — and names the consumer of the result (check_walk_regression). An agent can immediately tell this is the freezing/pinning operation rather than a read, list, or clear operation.

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 clear triggering context: the walk must be 'completed' and this is the anchor that 'check_walk_regression compares future walks against', which implies when to reach for it. It does not explicitly contrast with set_walk_baseline or clear_walk_baseline, so the agent must infer the distinction from names alone.

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.