Skip to main content
Glama

Read the task forms

get_task_forms
Read-only

List BPMN user-task and start-event forms with fields and variables, flag missing forms and variables read before a form fills them, and return an element’s full form-js schema via elementId.

Instructions

Lists the forms kept in the diagram file: for each user task or start event that has one, its form id, title and fields (key, label, type, required, allowed values) and the process variables it fills in. Also lists the user tasks and start events without a form, and the data findings: a gateway or a decision table that reads a variable no form before it fills in. With elementId, also returns the full form-js schema of that element. Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_task_forms"
  }
}

Input Schema

NameRequiredDescriptionDefault
elementIdNoId of a user task or start event, to get its full form-js schema

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.6

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description is consistent with that ("Read-only"). Beyond annotations it discloses substantial behavior: the exact contents returned, the definition of a "data finding" (a gateway or decision table reading a variable no prior form fills in), and the extra elementId-triggered payload.

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?

Purpose is front-loaded in the first clause, followed by the returned content, the findings definition, and the optional-parameter behavior. It is a dense single paragraph with little waste, though the closing "Read-only" is largely redundant with the annotations and the data-findings sentence is somewhat convoluted.

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?

There is no output schema, so the description carries the burden of describing returns, and it does so thoroughly down to field-level attributes. Minor gaps remain: it does not say what happens when elementId names something that is not a user task or start event, or whether the base listing is affected in that case.

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?

Schema coverage is 100% and the single parameter's schema description already says it is a user task or start event id for retrieving the form-js schema. The description only restates that conditionally ("With elementId, also returns..."), adding the nuance that the base listing still applies but no new syntax or constraint. Baseline 3 applies.

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 opens with a specific verb and resource ("Lists the forms kept in the diagram file") and then enumerates exactly what is included: per-task form id, title, fields, filled process variables, tasks/start events without a form, and data findings. An agent can distinguish this read-only form-inventory tool from siblings like set_task_form 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 Guidelines4/5

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

It clearly frames the default call (list everything) and the conditional variant ("With elementId, also returns the full form-js schema of that element"), which is actionable usage guidance. It does not explicitly state when to prefer a sibling such as set_task_form for writing, so it stops short of full alternatives guidance.

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