Skip to main content
Glama
Hardik-Singh

Invariance MCP

Official
by Hardik-Singh

invariance_run_start

Start a new run to group a sequence of nodes for observability. Returns an open run to close with finish or fail.

Instructions

Start a new Invariance run (the container for a sequence of nodes). The returned run is in status "open" — you must close it later with invariance_run_finish (success) or invariance_run_fail (error).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoHuman-readable run name shown in dashboards.
case_idNoCase (workflow instance) this run belongs to. Server inherits tenant_id/end_user_id from the case. Create one first with invariance_case_create.
metadataNoFree-form metadata as a JSON object string. Example: {"user_id":"u_42","workspace":"acme","risk_tier":"high"}
tenant_idNoOverride tenant_id (normally inherited from case). Your customer (the platform user / firm).
end_user_idNoOverride end_user_id (normally inherited from case). The human the workflow acts on behalf of.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false - so the agent knows this is a mutating, non-destructive action that creates a resource. The description adds the key behavioral fact that the run is returned in 'open' status and must be closed later. However, it does not detail the exact lifecycle implications beyond closing, such as what happens if the run is never closed. With annotations covering the mutation profile, a 3 is appropriate.

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 long with zero fluff. It front-loads the primary action ('Start a new Invariance run') and the container concept, then immediately states the crucial lifecycle requirement (must close it later). Every sentence adds value.

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?

For a creation tool with no output schema, the description clearly defines the run's initial status and the critical close contract. It also references prerequisites (case creation) and inheritance of tenant/end_user. The only minor gap is not explaining that the run is a container for nodes (mentioned) - noting that node writing happens separately (e.g., invariance_node_write) could be beneficial, but the description is otherwise complete for an agent to call it safely.

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?

The input schema provides 100% description coverage for all 5 parameters, with clear descriptions including examples for metadata and the inheritance behavior for tenant_id/end_user_id. The description does not add extra parameter-specific details beyond what the schema already says. Given the high coverage, a baseline of 3 is correct.

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 clearly states the tool starts a new Invariance run, which is a container for a sequence of nodes dropped in the open status. This distinguishes it from related tools like invariance_run_finish and invariance_run_fail, and from the sibling invariance_create_run, by emphasizing lifecycle management.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states that the returned run is in 'open' status and must be closed later with invariance_run_finish (success) or invariance_run_fail (error). It also mentions that a case must be created first and that tenant_id/end_user_id are normally inherited. This provides clear when-to-use and when-not-to-use guidance.

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