生成流程图(Mermaid)
act_material_mermaid生成流程图(Mermaid) 用户要画流程图/时序图/思维导图(Mermaid) Mermaid 代码
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | 图的内容描述 | |
| diagram_type | No | 图类型:flowchart/sequence/mindmap |
act_material_mermaid生成流程图(Mermaid) 用户要画流程图/时序图/思维导图(Mermaid) Mermaid 代码
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | 图的内容描述 | |
| diagram_type | No | 图类型:flowchart/sequence/mindmap |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The trailing 'Mermaid 代码' fragment implies the return is Mermaid source text, which is genuinely useful since no output schema exists, but nothing is said about diagram size limits, error behavior, or whether the code is validated.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
It is very short with no filler, but the three space-separated fragments lack connective structure and read as incomplete phrases rather than sentences. Brevity here comes at the cost of clarity rather than from tight writing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a code-generating tool with no output schema, the description should clarify what the returned Mermaid code looks like and how prompt quality affects it. Neither is addressed, so an agent must guess at output shape and any constraints on the generated diagram.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so both 'prompt' and 'diagram_type' are already documented in the schema, including the flowchart/sequence/mindmap options. The description merely echoes those diagram types and adds no format, length, or syntax guidance beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a concrete verb+resource (生成流程图/Mermaid), and the fragments add that flowcharts, sequence diagrams and mindmaps are covered. However, the phrasing largely restates the title and reads as disconnected keywords rather than a coherent statement of what the tool produces, and it never distinguishes itself from the many other diagram/flowchart siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The clause '用户要画流程图/时序图/思维导图' implies the use case (when a user wants a diagram), which is useful context. No exclusions or alternatives are given — notably the specialized flowchart siblings (consort_flowchart, prisma_flowchart) are not mentioned, leaving the agent to infer when this generic generator is preferred.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.