Skip to main content
Glama
Inistate

Inistate MCP Server

Official
by Inistate

Submit Activity

submit_activity
Destructive

Submit an activity on a module entry with AI reasoning and confidence. If confidence falls below the activity's threshold, the transition is suppressed and the entry is flagged.

Instructions

Perform an activity on a module entry: standard (create [no entryId], edit, delete, changeStatus, comment, duplicate, manage) or any custom activity from get_module_schema. Call get_form before the first submission per (module, activity); reuse its schema for further entries. The ai object is REQUIRED (reasoning + model + confidence). If confidence < the activity's threshold, the transition is suppressed and the entry is flagged. Server-side guard rules (human/hybrid actor, state-change confirm, confidence-inflation) may block — see inistate://guardrails. Input shapes: ActivitySubmission in inistate://schema/runtime.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aiYesREQUIRED — AI agent traceability
dueNoISO 8601
inputNoField values keyed by display name. File/Image: {name,path}. Module: {id,value} (both required). User: {id,value,username} (all three required). Plural variants (Users/Modules/Files/Images): arrays of those objects. User/Module shapes are validated pre-flight — bare ids, bare strings, or objects missing any required key will be rejected.
stateNoTarget state name
moduleYes
commentNoOptional. Add only when it carries information not already in the field values or reasoning. Keep short and precise.
entryIdNoOmit for create
activityNocreate
entryIdsNoFor bulk ops
assigneesNoUsernames
confirmedNoSet true only after explicit user authorization. Required for: changeStatus, state override, hybrid actor, retry after flag. Does not unlock human-actor activities. See inistate://guardrails.
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?

Discloses critical behaviors beyond annotations: the ai object is required, confidence gating suppresses transitions and flags entries, and server-side guard rules may block. No contradiction with annotations (destructiveHint, readOnlyHint). References external resources for guardrails and input shapes.

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 front-loaded with purpose and workflow, followed by key rules and references. Every sentence adds value, but it is somewhat long and could be trimmed without losing essential information. However, for a complex tool, this level of detail is justified.

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?

Given 12 parameters, nested objects, and no output schema, the description covers prerequisites (get_form), key input requirements (ai, confirmed), constraints (confidence threshold), and edge cases (guardrails). It references external documentation for full details, which is appropriate. Minor omission: no guidance on error handling or response format.

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 83% (good), and the description adds significant value by explaining the ai object requirement, confidence threshold effect, and compound field shapes (User, Module, etc.). It provides context that the schema alone does not, such as the workflow for get_form and guardrails.

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 'Perform an activity on a module entry' and lists standard activities (create, edit, delete, etc.) plus custom ones. It distinguishes itself from siblings like submit_activities (plural, likely bulk) and get_form, making the purpose 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?

Provides clear when-to-use guidance: call get_form before first submission per (module, activity) and reuse its schema. Warns about server-side guard rules and references inistate://guardrails. However, it does not explicitly contrast with sibling submit_activities for bulk operations, which would strengthen the guidance.

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