Skip to main content
Glama
Berrio
by Berrio

elements_query

Read-only

Query SVG elements by IDs, types, or layers to retrieve bounded summaries without exposing arbitrary XML attributes.

Instructions

Lists bounded SVG element summaries by IDs, type, or Inkscape layer without exposing arbitrary XML attributes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNo
pathYes
kindsNo
limitNo
offsetNo
layerIdNo
workspaceIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalYes
elementsYes
missingIdsYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds meaningful behavioral context: results are summarized rather than full elements, bounded (consistent with limit/offset), and deliberately stripped of arbitrary XML attributes. This clarifies what an agent should expect in the return payload beyond the raw schema.

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?

A single sentence that front-loads the core action and resource before stating filtering dimensions and the key output limitation. Every clause earns its place; there is no redundancy.

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 read-only list operation, the description covers what is returned, the filtering dimensions, and a key exclusion (arbitrary XML attributes); the output schema covers return details. It falls short only in not explicitly routing the agent toward or away from sibling query/export tools, though the purpose is mostly self-evident.

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?

The description maps the main filter parameters to concepts: IDs, type (kinds), and Inkscape layer (layerId). But with 0% schema description coverage, it does not clarify path/workspaceId context or the pagination parameters (limit/offset), leaving the agent to infer those from the schema names alone.

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?

States a specific action ('Lists') and resource ('SVG element summaries'), plus the three filtering dimensions (IDs, type, Inkscape layer). The qualifier 'without exposing arbitrary XML attributes' distinguishes this from raw SVG/XML inspection and from sibling write tools like elements_update or elements_delete.

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

Usage Guidelines3/5

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

The read-only verb 'Lists' and readOnlyHint imply this is for retrieval rather than mutation, and sibling names make the contrast obvious. However, it never explicitly states when to choose this tool over alternatives or when not to use it, so usage guidance is implied rather than spelled out.

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/Berrio/inkscape-mcp'

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