Skip to main content
Glama
Gawasna

figma-antigravity-mcp

by Gawasna

generate_diagram

Turn Mermaid.js syntax into a shareable FigJam diagram—flowchart, sequence, state, Gantt, or ER—and get a direct URL to open it.

Instructions

Do what: Creates a flowchart, sequence diagram, state diagram, gantt chart, or ER diagram in FigJam from Mermaid.js syntax. Expected output: { url (string) } — direct URL to the created FigJam diagram. MUST show this URL as a markdown link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesShort descriptive title for the diagram.
fileKeyNoOptional. Existing FigJam file key.
planKeyNoPlan key from whoami.
userIntentNoDescription of what the user wants to accomplish.
mermaidSyntaxYesValid Mermaid.js code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, but it only discloses the expected URL and the markdown-link instruction. It does not mention side effects, authentication or plan requirements, error behavior, or whether a new file is created versus an existing file modified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and well-structured, with the action and expected output front-loaded in two short sentences. There is no filler or redundant restating of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description is incomplete. It fails to explain prerequisites like planKey from whoami, the role of fileKey, or behavior around new versus existing files, leaving important context gaps for correct invocation.

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%, so parameters are already documented in the input schema. The description adds no extra meaning beyond tying the tool to Mermaid.js syntax, which is sufficient for a baseline score.

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 action, resource, and input format: creates flowchart, sequence, state, gantt, or ER diagrams in FigJam from Mermaid.js syntax. It also names the expected output, making the tool's purpose unmistakable even without reading the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No explicit guidance is given about when to use this tool versus alternatives like create_new_file. It also omits prerequisites such as needing planKey from whoami or an existing fileKey, so the agent must infer usage context from the description alone.

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