Skip to main content
Glama
Inistate

Inistate MCP Server

Official
by Inistate

Submit Activities (Bulk)

submit_activities
Destructive

Apply one named activity to up to 100 Inistate module entries in a single call, using per-item inputs, instead of many sequential submissions for bulk creates or edits.

Instructions

Write operation, the bulk variant of submit_activity: one call applies one named activity of one module to many entries (the same activity for every item; nothing else runs), each item with its own input. Use instead of N sequential submit_activity calls when creating/editing many rows — one tool turn instead of N. A per-item ai wholly replaces the top-level default (no partial merge). Items run sequentially fail-soft on the server: one failure does not abort the rest; per-item outcomes (success, entryId, flagged, validation details) return in results — use clientRef to correlate. Max 100 items; chunk beyond that. Guardrails match submit_activity at batch level: actor='human' rejects the whole batch; actor='hybrid', activity='changeStatus', or any state override (top-level or per-item) requires confirmed: true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aiYesDefault AI traceability applied to every item that does not specify its own. Same field semantics as submit_activity.ai.
itemsYes1-100 items. Each item carries only what differs from the top-level activity.
moduleYes
activityNocreate
confirmedNoREQUIRED when the activity is 'changeStatus', any per-item or top-level `state` override is supplied, or the activity's actor is 'hybrid'. Set true ONLY after surfacing the planned bulk action to the user.
workspaceIdNoWorkspace ID. Omit if set via env or set_workspace; required in stateless/remote mode.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.1
    • changedInput schema / properties / items / items / properties / comment / description
      Previous value: -"Optional. Add only when it carries information not already in the field values or reasoning. Keep short and precise."New value: +"Optional. Only when necessary to communicate with the user directly. Be concise; leave the detail in the fields."
    • changedInput schema / properties / items / items / properties / input / description
      Previous value: -"Field values keyed by display name. Same shape as submit_activity.input."New value: +"Field values keyed by display name. Same shape as submit_activity.input: Table values are arrays of row objects, numbers are JSON numbers."
  2. First observedv1.1.1

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the write/non-idempotent profile is covered structurally. The description nonetheless adds substantial context beyond them: fail-soft sequential execution, per-item outcomes returned in `results`, per-item `ai` wholly replacing (not merging with) the top-level default, and the actor/changeStatus/state-override rules that force `confirmed: true`. This is real disclosure that goes well past what the annotations state.

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?

Front-loaded with the core purpose and the routing decision before moving to mechanics and guardrails. It is dense — the "Max 100 items" point duplicates the schema's maxItems constraint — but nearly every sentence carries actionable information.

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?

With no output schema, the description compensates by naming what returns in `results` (success, entryId, flagged, validation details) and how to correlate via `clientRef`. Combined with batch-level guardrails and chunking guidance, an agent has everything needed to invoke this correctly at scale.

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 description coverage is 67%, and the description fills key gaps: it clarifies the no-partial-merge semantics of per-item `ai`, the correlation purpose of `clientRef`, and the precise trigger conditions for `confirmed` (actor='hybrid', activity='changeStatus', or any state override). It does not restate the simpler item fields already documented in the schema, which is appropriate.

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?

States a specific verb and resource ("bulk variant of submit_activity: one call applies one named activity of one module to many entries") and explicitly contrasts itself with the sibling submit_activity. An agent can distinguish it from submit_activity and the read-only siblings without opening any schema.

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?

Names the alternative and the condition that selects it: "Use instead of N sequential submit_activity calls when creating/editing many rows — one tool turn instead of N." It also supplies operational guidance (max 100 items, chunk beyond that) and the guardrail conditions that gate use of `confirmed`.

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