Skip to main content
Glama

gh_bake

Bake a solved output to a WISE layer with stage and role tags, replacing earlier matching objects so reruns do not duplicate geometry. Use only after an error-free solve.

Instructions

Bake one output to a WISE layer, tagged with stage and role. Earlier objects with the same stage and role are replaced, so a rerun never duplicates. Only bake after a solve with no errors.

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": {
      "guid": "<guid>",
      "port": "<port>",
      "layer": "<layer>",
      "stage": "<stage>"
    },
    "name": "gh_bake"
  }
}

Input Schema

NameRequiredDescriptionDefault
guidYes
portYes
roleNo
layerYes
stageYes
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does well on the most important trait: earlier objects with the same stage and role are replaced, so reruns are idempotent rather than duplicative. It does not say whether the replacement is reversible, what happens to dependent objects, or what errors look like, leaving significant behavioral gaps for a mutating tool.

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?

Three short sentences, front-loaded with the action, then the replacement semantics, then the precondition. No filler and nothing that could be cut.

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?

A mutating tool with no annotations, no output schema, and six undocumented parameters needs more than this. The core overwrite behavior is covered, but parameter meaning and post-bake effects remain unexplained.

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 coverage is 0% and there are six parameters, yet the description only touches stage, role, and layer. The required guid and port and the optional offset receive no explanation anywhere, so an agent must guess how to identify the output being baked and what offset does.

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 (bake) and target (one output to a WISE layer) plus the tagging dimensions (stage, role), which is far more than a restatement of the name. It does not name a sibling to contrast with, but the operation itself is unambiguous.

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?

'Only bake after a solve with no errors' gives a clear precondition that implies sequencing after gh_solve. There is no explicit when-not guidance or named alternative, but the gating condition is concrete.

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