Skip to main content
Glama

describe_animations

Generate natural language descriptions of a webpage's animations from its URL, helping AI assistants understand detected CSS, JavaScript, and canvas motion.

Instructions

Generate natural language descriptions of animations. Returns string[] of descriptions. Requires ANTHROPIC_API_KEY env var.

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": {
      "url": "<url>"
    },
    "name": "describe_animations"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL of the page to describe

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add real value by disclosing the ANTHROPIC_API_KEY requirement and the string[] return shape. It omits the behavioral consequences of that LLM dependency — cost, latency, per-page batching — and doesn't say whether the URL is fetched fresh or how many animations are described.

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 short sentences with zero waste: purpose first, return type second, prerequisite third. The most load-bearing operational fact (the API key) is stated up front rather than buried.

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

Completeness3/5

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

For a one-parameter tool with no output schema this covers the essentials, and the return type is stated so no output schema is needed. What's missing is the scope of the operation — whether it describes all animations on the page or one — which matters against siblings that target individual animations.

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 coverage is 100% and the single url parameter is already documented as 'URL of the page to describe'. The description adds no further meaning such as whether the URL must be reachable or already crawled, so the baseline of 3 applies.

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?

States a specific verb and resource: 'Generate natural language descriptions of animations.' An agent knows what comes out of the tool. However, it never distinguishes itself from siblings like inspect_animation or extract_animation_code, so the boundary between 'describe' and 'inspect' is left to inference.

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?

There is no when-to-use guidance and no mention of alternatives among six closely related siblings (discover_animations, inspect_animation, extract_animation_code). The name implies a describing task, but nothing tells the agent when describing beats inspecting or extracting code.

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