Skip to main content
Glama

Render a wireframe

render_wireframe
Read-only

Checks tsquare wireframe text and renders it. Returns a PNG of the board, or, if the text isn't valid, each problem with its line number and the valid options.

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": {
      "text": "<text>"
    },
    "name": "render_wireframe"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe wireframe in tsquare text (a ```tsquare code fence around it is fine).
flowsNoDraw flow arrows (default true). false leaves them out, as if there were no flow lines.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral detail beyond that: successful calls return a PNG of the board, while invalid text returns each problem with its line number and valid options. This is meaningful context about output shape and failure behavior, though it does not discuss size limits or rendering fidelity.

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 two tight sentences with zero wasted wording. The primary behavior is front-loaded, and the conditional error behavior follows immediately. Every clause earns its place.

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 simple two-parameter rendering tool, the definition supplies the key behavioral facts: what it returns on success and what it returns on validation failure. Parameter details are fully covered by the schema, and safety behavior is covered by annotations. No output schema exists, but the description already explains the return values.

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 both parameters are documented there, including the text format and the flows default. The description confirms that the text is validated and refers to tsquare wireframe text, but it does not add syntax or format details beyond the schema. With the schema doing the heavy lifting, a baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 checks tsquare wireframe text and renders it to a PNG. The validation-error branch is also named, so the agent knows this is both a renderer and a syntax checker. It does not explicitly contrast itself with siblings like wireframe_guide or share_wireframe, which keeps it just below the top score.

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?

The description implies that this tool is for rendering tsquare wireframes, but it gives no explicit when-to-use guidance or exclusions. It does not mention when to prefer wireframe_guide for syntax help or share_wireframe for distribution. The agent must infer the tool's role from the purpose statement alone.

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.