Skip to main content
Glama

Select shapes

visio_select_shapes

Selects specified shapes in a Visio document, optionally targeting a specific page or document.

Instructions

Select shapes in the Visio window, to show the user what you mean.

This changes the selection and the page on screen but not the drawing.

Args: shape_ids: Ids to select. page: Page name or 1-based index. Omit for the page on screen. document: File name or 1-based index. Omit for the active document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
documentNo
shape_idsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
pageNo
actionYes
detailYes
affectedNo
documentNo
shape_idNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

The description goes beyond the annotations by explaining that it changes both the selection and the on-screen page but does not modify the drawing. This gives important context about side effects and non-persistence.

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 concise and well-structured: a one-line summary, a single clarifying sentence about side effects, and a clear parameter list. No redundant or irrelevant content.

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's simplicity, the description covers the purpose, side effects, parameters and defaults. An output schema exists, so not detailing return values is acceptable. No important context appears missing.

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

Parameters5/5

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

Even though the schema has no descriptions, the Args section fully explains each parameter: shape_ids as the IDs to select, page with default behavior ('Omit for the page on screen'), and document with default behavior ('Omit for the active document').

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 clearly states the action ('Select shapes') and the resource ('in the Visio window'), and explains the intent ('to show the user what you mean'). This distinguishes it from sibling tools like visio_get_shape or visio_list_shapes.

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?

It indicates when to use the tool (to visually show the user which shapes are meant) and clarifies that it only affects the on-screen selection, not the drawing. However, it does not explicitly contrast with sibling tools such as visio_get_shape or visio_set_shape_text, though the purpose is fairly clear.

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

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/isiec9ai/MCP'

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