Skip to main content
Glama

validate_one_pager_file

Read-only

Validates a generated editable CP SVG file path against exact CP palette, fonts, assets, embedded images, and regenerated template content; returns a compact report and keeps SVG markup local.

Instructions

Validate a generated editable CP SVG by file path against exact CP palette/fonts/assets, embedded images and regenerated template content. Returns a compact report; SVG markup stays local.

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": {
      "filePath": "<filePath>"
    },
    "name": "validate_one_pager_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.4.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, non-destructive, closed-world), so the bar is lower; the description still adds real value by disclosing what is compared against (exact palette, fonts, assets, embedded images, regenerated template content) and that only a compact report is returned while the SVG markup stays local. That return-shape disclosure matters because no output schema exists. It stops short of saying what a failing report contains or whether validation blocks publication.

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?

Two sentences, both dense with content, with the verification scope front-loaded and the return behavior second. Minor friction from unexplained internal jargon ("CP") and a cramped comma-heavy clause, but nothing is filler.

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

Completeness4/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 checker with no output schema, the definition covers what is validated, that a compact report is returned, and that the SVG itself stays local. What is missing is the shape of a failing result and any dependency on a prior create_one_pager run, which would matter for correct sequencing.

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?

There is one parameter with 0% schema description coverage, so the description must compensate. "By file path" clarifies that filePath is a path to the generated SVG rather than a document ID or raw markup, which is genuine added meaning. However, it adds nothing about absolute vs relative paths, expected extension, or error behavior when the path is wrong.

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 gives a specific verb ("Validate") and a specific resource ("a generated editable CP SVG"), plus the exact dimensions checked: palette/fonts/assets, embedded images, regenerated template content. It does not name the sibling it differs from (e.g. qa_one_pager_layout or validate_social_post), so an agent must infer the boundary rather than be told it.

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

Usage Guidelines3/5

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

Usage is implied by "generated editable CP SVG" — the tool is for post-generation checking — but there is no explicit when-to-use, when-not-to-use, or named alternative among the several validation/QA siblings. An agent can guess the sequencing but is not routed away from qa_one_pager_layout or audit_brand_assets.

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