Skip to main content
Glama

verify_scene_overlaps

Detect overlapping visual elements in a Manim scene by computing axis-aligned bounding boxes and reporting pairs whose boxes intersect.

Instructions

Detect overlapping visual elements (mobjects) in the current scene.

Computes axis-aligned bounding boxes for each mobject based on its stored position and dimension properties (radius, width, height, side_length, font_size). Reports any pair whose bounding boxes intersect.

NOTE: Positions are only reliably updated by move_to(). After shift/scale/rotate/next_to/align_to, the stored position may be stale. Text and TeX dimensions are estimated from font_size and character count — actual rendered glyphs may differ.

Returns: List of overlap reports, each with the pair of overlapping mobjects, their positions, types, and overlap magnitudes.

Example: >>> verify_scene_overlaps()

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description carries the full transparency burden and does so excellently. It discloses that positions may be stale after shift/scale/rotate/next_to/align_to (only move_to updates reliably), that text/TeX dimensions are estimated rather than exact, and that overlap is based on axis-aligned bounding boxes rather than pixel-perfect shapes. This is rich behavioral context that helps the agent interpret results correctly.

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 well-structured with a purpose sentence, method explanation, a critical NOTE section, return format, and an example. Every sentence provides important information; there is no fluff. The length is justified by the need to convey subtle caveats about position and dimension accuracy.

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?

Given the tool has no parameters and an output schema exists, the description focuses on what the tool returns and how it behaves, including limitations. It covers the output structure (list of overlap reports with pair, positions, types, magnitudes), which complements the output schema. The note about stale positions is essential. Overall, the description is complete for this diagnostic tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, and the description requires no parameter explanations. Per the rubric, a baseline of 4 is appropriate for a no-parameter tool. The description focuses on behavior and returns, which is correct.

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 construction: 'Detect overlapping visual elements (mobjects) in the current scene.' It clearly states the tool's function and is inherently distinct from sibling tools that add, move, or render objects. No ambiguity about what the tool does.

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 implies when to use this tool (to detect overlaps among currently placed mobjects) and provides clear context. It doesn't explicitly mention alternatives or exclusion criteria, but there are no sibling tools with similar functionality, so the guidance is sufficient. A small deduction for not stating 'use after creating/arranging objects' directly.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-manimgl'

If you have feedback or need assistance with the MCP directory API, please join our Discord server