Skip to main content
Glama

Write the analysis of the process report

set_report_commentary

Stores your process analysis as AI co-pilot commentary in the diagram report, replacing old notes. Use it after reading the report to record bottlenecks, rare paths, risks, and fixes with cited IDs.

Instructions

Stores your analysis of the process in the diagram file, where the process report shows it in a section of its own, marked as written by the AI co-pilot, with your name and the date. It replaces the previous analysis. Read get_process_report (with simulate for token counts) first, and base each point on its findings and figures. Each point has a kind: bottleneck (an activity or path most instances go through, or that repeats), rare_path (a branch or end seldom or never reached), risk (a missing exception, a dead end, a gap in the model), or improvement (a concrete change and its expected effect). Cite the elements concerned by id. Write in the language of the user. An empty summary with no points removes the analysis. The user can undo it with Ctrl+Z.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "summary": "<summary>",
      "points": "<points>"
    },
    "name": "set_report_commentary"
  }
}

Input Schema

NameRequiredDescriptionDefault
pointsYes
summaryYesTwo to five sentences on how the process runs and what matters most

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses that the previous analysis is replaced, that the content is stored in the diagram file and surfaced in the report section with authorship and date, that an empty summary deletes the analysis, and that the change is undoable with Ctrl+Z. These are exactly the destructive/reversible traits an agent needs before writing.

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 and replacement behavior are front-loaded, and the remaining sentences carry distinct, non-redundant instructions (prerequisite read, point kinds, id citation, language, deletion, undo). The opening sentence is somewhat long and nested, but no sentence is filler.

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 two-parameter mutation tool with no annotations and no output schema, the description covers what changes, what gets overwritten, how the result is presented, how to gather the input, what each point kind means, and how to reverse it. Nothing an agent needs in order to call it correctly is missing.

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 50%, and the description compensates well by defining the meaning of each kind value (bottleneck, rare_path, risk, improvement) far beyond the bare enum names, and by explaining that elements are cited by diagram element id. It does not address the per-point length cap or the maximum number of points, leaving those purely to the schema.

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 states a specific verb and resource: it stores the user's analysis of the process into the diagram file and makes it visible inside the process report as a dedicated section attributed to the AI co-pilot with name and date. It also distinguishes the write side from the read sibling by instructing the agent to call get_process_report first, so an agent can tell the two apart 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?

It gives explicit sequencing (read get_process_report, optionally with simulate for token counts, before writing) and a substantive grounding rule: base each point on that report's findings and figures. It also names the alternative path for removal (empty summary with no points erases the analysis) and specifies writing in the user's language, leaving little to inference.

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