Skip to main content
Glama

Picorn: render a Codex-authored finished design

picorn_design_image

CODEX-ONLY. The calling Codex supplies the complete SVG, including copy and layout. Picorn resolves declared placeholders and renders it through Fabric/SVG. No internal language or design model is called.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
svgYesComplete Codex-authored SVG with a viewBox.
widthNo
heightNo
previewNoReturn an inline preview. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • removedInput schema / properties / aspectRatio
      Removed value: -{
      -  "enum": [
      -    "1:1",
      -    "4:5",
      -    "9:16",
      -    "16:9"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / forceGenerate
      Removed value: -{
      -  "description": "Generate the background instead of researching a photo.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / height
      Added value: +{
      +  "maximum": 4096,
      +  "minimum": 64,
      +  "type": "integer"
      +}
    • removedInput schema / properties / layout
      Removed value: -{
      -  "const": "full-bleed-top",
      -  "type": "string"
      -}
    • addedInput schema / properties / svg
      Added value: +{
      +  "description": "Complete Codex-authored SVG with a viewBox.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / properties / text
      Removed value: -{
      -  "description": "What the image should communicate, including concrete facts.",
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / title
      Removed value: -{
      -  "description": "Short topic title.",
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / properties / width
      Added value: +{
      +  "maximum": 4096,
      +  "minimum": 64,
      +  "type": "integer"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "title",
      -  "text"
      -]New value: +[
      +  "svg"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations indicate readOnlyHint=false and openWorldHint=true, and the description adds meaningful behavioral context: it resolves declared placeholders, renders through Fabric/SVG, and does not call an internal language or design model. This goes beyond the annotations by explaining the rendering pipeline and the absence of a design model, which helps the agent understand what happens when the tool is invoked.

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 sentences with no wasted words. It front-loads the critical constraint (CODEX-ONLY) and the core behavior (resolves placeholders, renders through Fabric/SVG), then clarifies what it does not do. Every sentence earns its place.

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 tool with 4 parameters, 1 required, and no output schema, the description covers the essential behavioral context: what input is expected (complete SVG), what happens (placeholder resolution, rendering), and what is not involved (no internal design model). It doesn't describe return values or error conditions, but the absence of an output schema and the simplicity of the tool make this acceptable. The description is complete enough for an agent to select and invoke it correctly.

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 50%, with the 'svg' and 'preview' parameters described in the schema. The description adds context about the SVG being complete and Codex-authored, which reinforces the 'svg' parameter's meaning. However, it doesn't add detail about 'width' or 'height' beyond the schema's numeric constraints, and the description doesn't compensate for the undocumented parameters. Baseline 3 is appropriate.

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 clearly states the tool's purpose: it renders a Codex-authored finished design by resolving placeholders and rendering through Fabric/SVG. It explicitly distinguishes itself from other tools by noting it is CODEX-ONLY and that no internal language or design model is called, which differentiates it from siblings like picorn_edit_image or picorn_generate_image.

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

Usage Guidelines4/5

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

The description provides clear context for when to use this tool: when Codex supplies the complete SVG. It doesn't explicitly name alternatives or exclusions, but the CODEX-ONLY marker and the contrast with 'no internal language or design model is called' imply it should be used instead of generation or editing tools. It could be stronger with explicit when-not-to-use guidance, but the context is clear.

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.

Resources