Skip to main content
Glama
Hardik-Singh

Invariance MCP

Official
by Hardik-Singh

invariance_workflow_create

Create a workflow definition with typed fields, expected steps, allowed outcomes, and custom metrics to standardize process tracking and analysis.

Instructions

Create a workflow definition with typed fields, expected steps, allowed outcomes, and custom metrics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
descriptionNo
display_nameYes
custom_metricsNoJSON array of metric widgets, e.g. [{"kind":"count","label":"Escalations","event_type":"support.escalated"}].
expected_stepsNoJSON array of expected workflow steps, e.g. [{"type":"triage","required":true}].
expected_fieldsNoJSON array of typed fields, e.g. [{"name":"priority","type":"enum","enum":["p0"]}].
allowed_outcomesNoJSON array of allowed outcomes, e.g. [{"value":"resolved","kind":"success"}].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior2/5

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

The description only echoes the obvious 'Create' action, which aligns with annotations (readOnlyHint=false, destructiveHint=false). It adds no behavioral details such as idempotency, validation rules, error behavior, or what happens on duplicate keys. Given this is a write operation, more transparency would be expected, but the description stays at surface level.

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?

The description is a single sentence that efficiently lists the relevant components without redundancy. It is front-loaded with the main verb and resource. While it could be more structured (e.g., mentioning required fields), it avoids fluff and is appropriately concise.

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?

For a create operation with no output schema, the description covers the core purpose but omits details like return value, error conditions, and requirement that 'key' and 'display_name' are mandatory. Given the tool has 7 parameters and some are JSON strings requiring format knowledge (which the schema partially covers), the description could be more thorough but is not severely lacking.

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 schema provides descriptions for four parameters (custom_metrics, expected_steps, expected_fields, allowed_outcomes) with JSON examples, covering 57% of parameters. The description reiterates these names but adds no additional semantic value. For the three parameters without schema descriptions (key, display_name, description), the description does not compensate, so it remains at a baseline 3.

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?

The description clearly states the verb 'Create' and the resource 'workflow definition', and enumerates the component types it handles (typed fields, expected steps, allowed outcomes, custom metrics). This distinguishes it from workflow_update/delete/list/get, though it does not explicitly name a differentiating sibling.

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 name and description imply this is for creating a new workflow definition, and the presence of update/delete/list siblings makes the use case fairly obvious. However, the description does not explicitly state when to use this versus other workflow tools, nor any prerequisites such as required fields (key, display_name) or conditions for use.

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