Skip to main content
Glama
Berrio
by Berrio

document_inspect

Read-only

Read SVG viewport dimensions, viewBox, and revision from an authorized document without altering it. Get document details for validation or analysis.

Instructions

Reads SVG viewport dimensions, viewBox and revision from an authorized document without mutating it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
levelNostandard
workspaceIdYes
expectedRevisionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pagesYes
widthYes
heightYes
viewBoxYes
revisionYes
inventoryNo
widthUnitYes
heightUnitYes
inspectionLevelYes
Behavior3/5

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

The annotation readOnlyHint=true already signals read-only behavior, and the description reinforces this with 'without mutating it'. It adds minimal new behavioral context, such as the requirement of an 'authorized' document, which hints at access control. However, it does not disclose edge cases like behavior on missing documents, revision mismatches, or the effect of the 'level' parameter on the response. Given the annotation covers the core safety trait, the description adds only a small amount of extra transparency.

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 a single, succinct sentence that front-loads the key action ('Reads') followed by the specific data types. It contains no filler words or redundant explanations, making it an exemplary model of conciseness.

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?

While the purpose is clear, the description does not provide enough contextual information for an agent to call the tool correctly. It omits explanations of the four parameters, particularly 'level' and 'expectedRevision', which are not self-evident. The presence of an output schema helps, but the lack of param semantics and usage guidance means the agent must guess or inspect elsewhere. For a tool with 4 parameters and no schema descriptions, this is insufficient.

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

Parameters1/5

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

Schema description coverage is 0%, meaning the schema provides no parameter documentation, and the description does not mention any parameters at all. The agent is left to infer the meaning of 'path', 'workspaceId', 'level', and 'expectedRevision' from their names alone, with no explanation of format, defaults, or how they affect the operation. This is a significant gap because the description fails to compensate for the schema's lack of detail.

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?

The description clearly states the tool reads SVG viewport dimensions, viewBox, and revision from an authorized document, with a specific verb and resource. It also explicitly notes it does not mutate the document, which aligns with its read-only intent. However, it doesn't differentiate itself from other read-focused siblings like document_preflight or document_settings, leaving some ambiguity about when to choose this specific tool.

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?

The description provides no explicit guidance on when to use this tool versus alternatives. It doesn't mention that document_preflight might be better for validation, or that elements_query is for element-level inspection, or that mutation tools should be used for changes. The read-only nature is implied by 'without mutating it' but there is no comparison or exclusion of sibling tools, leaving the agent to infer usage on its own.

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