Skip to main content
Glama

Zovo Activity Diagram

Check activity diagram text

check_activity_diagram
Read-onlyIdempotent

Use this when the user wants activity diagram text checked without a drawing, for example "is my flow valid?" or "which steps are not reachable?". Takes the same diagram text as make_activity_diagram. Returns ready true or false; when a line breaks the grammar or a block is not closed, the line number, the token and the reason; otherwise the counts, the steps with their block path, steps that are not reachable (found by a breadth-first search from the start), and empty branches. Does not draw the diagram or make files.

Input Schema

NameRequiredDescriptionDefault
diagramYesThe activity in this line grammar, one statement per line, up to 40,000 characters, 2,000 lines and 400 characters per line (comments included): start | stop | end | :Action text; | if (condition) then (label) ... elseif (condition) then (label) ... else (label) ... endif | while (condition) is (label) ... endwhile (label) | fork ... fork again ... end fork | note: text | # comment. Labels are optional; conditions and labels must not contain ( or ). Example: "start\n:Receive order;\nif (in stock?) then (yes)\n:Ship it;\nelse (no)\n:Refund;\nendif\nstop".

Output Schema

NameRequiredDescriptionDefault
errorYes
nodesYes
readyYes
shownNo
countsNo
limitsYes
grammarYes
analysisNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description still adds value by confirming no drawing and no file creation and by explaining what the result contains on success versus failure. It does not discuss limits such as the 100,000 character cap or validation cost, so it falls short of fully rich behavioral context.

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 usage condition and the input cross-reference are front-loaded before the return-value detail, and every sentence carries information. The middle sentence listing failure and success payloads is a long run-on that could be split, which is the only real structural weakness.

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?

For a single-parameter, read-only validator with an output schema, the description covers the trigger, the shared input syntax, the failure shape, the success shape (including the BFS-based unreachable-step detection) and the non-goals. An agent has everything it needs to call this correctly.

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 description coverage is 100% and the single diagram parameter is documented in detail in the schema itself, so the baseline of 3 applies. The description only adds that the text is the same as make_activity_diagram's input, which is a useful cross-reference but no new syntax or format meaning.

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 ("activity diagram text checked without a drawing") and explicitly separates itself from the sibling by saying it does not draw the diagram or make files, which is what make_activity_diagram does. An agent can pick between the two without opening either 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?

Gives an explicit trigger ("Use this when the user wants activity diagram text checked without a drawing") plus two concrete example utterances ("is my flow valid?", "which steps are not reachable?"), and names the not-this case (does not draw or make files), which routes the agent to the sibling. Nothing is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources