Skip to main content
Glama

Describe SVG config

describe_animation_schema

Returns the SVG animation config reference for canvas, defs, element fields, CSS/SMIL syntax, and output options to help author valid configs and avoid validation errors.

Instructions

Return the SVGConfig reference: canvas, defs, element types and their required fields, CSS/SMIL animation syntax, and the output options.

Read this once before authoring a complex config. It is cheaper than discovering field names through validation errors, and it names the two field differences that trip up most configs (text uses "content"; transform animations need transformBox + transformOrigin).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "describe_animation_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionNoWhich part of the reference to return; 'all' returns everything.all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry behavioral disclosure; it strongly implies a read-only, non-mutating reference lookup and does disclose two concrete gotchas (text uses "content"; transform animations need transformBox + transformOrigin). However, it does not state cost/size of the returned payload or whether the reference is static, which matter for a 'read once' tool with no annotation coverage.

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?

Three sentences, front-loaded with what is returned, then when to use it, then the highest-value gotchas. No filler or repetition of the name.

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 one-parameter documentation tool with no output schema, the description adequately tells the agent what will come back by enumerating the reference sections. It slightly underspecifies whether the response is comprehensive prose or structured, but nothing needed to call it correctly is missing.

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 the single `section` parameter has an enum with documented default, so the schema already carries parameter meaning. The description lists the same section topics but never names the `section` parameter or explains that it selects a subset, adding no meaning beyond the schema.

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 uses a specific verb+resource ('Return the SVGConfig reference') and enumerates the exact contents (canvas, defs, element types and required fields, CSS/SMIL animation syntax, output options). An agent can distinguish this documentation-lookup tool from the sibling action tools (preview_animation_frame, render_animation, save_animation) without opening 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 Guidelines4/5

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

It gives an explicit trigger: 'Read this once before authoring a complex config,' and justifies the choice by contrasting it with discovering field names through validation errors, which effectively names the alternative path. It does not state a when-not (e.g., skip for trivial configs), so it stops short of full routing guidance.

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