Skip to main content
Glama

capture_viewport

Saves the current Rhino viewport as an image file, usually .png, to verify modeling results. Omit path unless the user provides a full save path.

Instructions

把 Rhino 当前视图截图保存为图片文件(一般用 .png),用来验收建模效果。

path: 保存路径。不知道确切路径时必须省略、不要传,用默认桌面 view.png;
绝不要自己拼造 C:\Users\某用户名\... 这类路径(v0.3.0 真机出现过模型
编造用户名导致导出失败)。只有用户明确给了完整路径时才传 path。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "capture_viewport"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are supplied, so the description bears the full behavioral burden, and it does disclose the key side effect (a file is written) plus the concrete default destination (desktop view.png) and a real failure mode where fabricated paths with invented usernames break the export. It does not say whether an existing file is overwritten or how resolution/view selection is handled, which are the remaining gaps.

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 purpose is front-loaded in the first sentence, followed by parameter guidance, which is the right ordering. The v0.3.0 incident anecdote is slightly long for its informational content, but it is tied directly to a real failure mode rather than being filler.

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?

This is a simple one-parameter tool with an output schema, so return values need not be described, and the description covers the risky parts (default path and path fabrication). Overwrite behavior and error conditions beyond bad paths are unstated, but nothing essential for invoking it correctly is 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?

Schema description coverage is 0%, so the description must compensate, and it does: it defines what path means, the default used when omitted, the precise condition for supplying it (user-provided full path only), and an explicit anti-pattern with a concrete failure narrative. That is more meaning than the bare {type: string} schema conveys.

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 states a specific verb and resource: capture the current Rhino viewport as an image file (typically .png), and it also gives the downstream purpose (accepting modeling results). An agent can immediately tell this is a screenshot tool rather than a geometry export or scene mutation, so the purpose is unambiguous.

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 gives clear situational guidance for the tool (use to verify modeling results) and, more importantly, explicit rules for the only parameter: omit path when unsure, pass it only when the user supplied a full path. It offers no explicit exclusions versus alternatives such as export_file, but the use case is stated clearly enough.

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