Skip to main content
Glama
Inistate

Inistate MCP Server

Official
by Inistate

Update Module

update_module
Destructive

Update an existing module by replacing specified sections (states, activities, flows, information). Items matched by id for renaming; omitted sections remain unchanged. Requires module id from get_module_canvas.

Instructions

Update an existing module. A section you pass (information/states/activities/flows) replaces that section's entire list — include every existing item you want to keep (matched by id, which enables renaming; omit id to add new items). Omitted sections are left unchanged. Always call get_module_canvas first to obtain the stable module id and item ids. Full-canvas payloads (information included) are validated internally like create_module; for partial payloads, validate the merged canvas with validate_design first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesModule id from get_module_canvas. Identifies which module to update.
iconNoEmoji identifier
nameNoNew module name (for renaming)
flowsNoState transition rules: { from, to, activity } by name. Omit for record list modules.
statesNoWorkflow states. Omit for record list modules.
activitiesNoCustom activities. Omit for record list modules.
descriptionNo
informationNoField definitions. Items matched by id on update enable renaming.
workspaceIdNoWorkspace ID. Omit if set via env or set_workspace; required in stateless/remote mode.
Behavior5/5

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

Description discloses behavioral traits beyond annotations: sections are replaced entirely, omitted sections are unchanged, id matching enables renaming, and prerequisite calls are mandatory. No contradiction with annotations (destructiveHint true), and adds context about validation behavior.

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?

Efficient four-sentence structure: first sentence states purpose, second explains replacement behavior, third gives prerequisite, fourth provides validation guidance. No redundant information, every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (9 parameters, nested objects), the description is thorough: covers purpose, modus operandi, prerequisites, validation, and id handling. No output schema exists, but return value is implied. Contextual completeness is high for the domain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is high (89%), but description adds meaningful context: importance of id from get_module_canvas, replacement semantics for sections, id behavior for renaming, workspaceId omission context. Baseline 3, but description adds significant value beyond schema descriptions.

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?

Clearly states 'Update an existing module' with specific verb and resource. Distinguishes from siblings like create_module by noting that it modifies an existing module and requires get_module_canvas first. The replacement semantics for sections and prerequisites further differentiate it.

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?

Provides explicit guidance: 'Always call get_module_canvas first' and for partial payloads 'validate the merged canvas with validate_design first.' Also explains when to include items (keep) and omit (leave unchanged), and distinguishes validation rules for full vs. partial payloads.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Inistate/inistate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server