Skip to main content
Glama

add_bbox_annotations

Add normalized bounding box annotations to a dataset image in a single transaction. Specify category and xyxy coordinates for each annotation.

Instructions

Add normalized xyxy annotations in one transaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataset_idYesActive owning dataset identifier.
image_pathYesDataset-relative target image path.
annotationsYesNon-empty axis-aligned annotation requests.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
dataYesContain created axis-aligned annotations and their count.
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. The description mentions 'in one transaction,' hinting at atomicity, but fails to clarify whether the operation is idempotent, whether it overwrites existing annotations, what happens on failure, or any authorization requirements. For a mutation tool adding multiple items, this lack of behavioral context is a gap.

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?

The description is extremely short—a single line with nine words. It is front-loaded with the core action ('Add normalized xyxy annotations') and adds the qualifier 'in one transaction.' Every word earns its place, but it could be extended slightly to improve other dimensions without becoming verbose.

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

Completeness2/5

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

Given the output schema exists, the description need not explain return values. However, the tool adds multiple annotations, has no annotations providing safety cues, and is part of a family of similar tools. The description fails to explain the 'normalized' coordinate system, the transaction semantics, or how it differs from editing single annotations. It leaves significant gaps for an AI agent to correctly select and invoke the tool.

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%, so the baseline is 3. The description adds no additional meaning beyond what the schema already provides—it does not explain the 'xyxy' format, the normalization convention, or the 'in one transaction' aspect for parameters. The schema itself sufficiently describes the parameters, so the description neither harms nor helps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says 'Add normalized xyxy annotations in one transaction,' which indicates the action is adding bounding box annotations. However, it does not specify the resource clearly—'bbox_annotations' is generic—and given siblings like add_rotated_bbox_annotations, it only faintly distinguishes itself via 'xyxy' (axis-aligned). A more explicit verb+resource (e.g., 'Add axis-aligned bounding box annotations to an image') would improve clarity.

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 guidance on when to use this tool versus its siblings, such as add_rotated_bbox_annotations or edit_bbox_annotation. The description does not mention prerequisites (e.g., dataset and image must exist, categories must be created first) or any alternative tools. Users are left to infer usage from the tool name and schema.

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/ryan-minato/detection-mcp'

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