Skip to main content
Glama

Ask the LLM about a TOP (multimodal)

copilot_vision
Read-only

Send a TOP preview and a custom question to a vision LLM to get an AI-generated answer about the image.

Instructions

Capture a TOP as a preview image and ask the configured multimodal LLM a question about it. Returns {source_top, question, width, height, answer, model?, stop_reason?, warnings[]}. Uses ctx.llm.complete() with a MultimodalMessage (text + image part). Requires an LLM backend (TDMCP_LLM_BASE_URL / MCP sampling); returns a friendly error otherwise. Different from caption_top, which is deterministic-by-default — this tool ALWAYS routes through the vision model with the artist's custom question.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_topYesPath of the TOP to send to the vision LLM.
questionYesQuestion or instruction about the image (e.g. 'what colors dominate?').
widthNoWidth to render the preview at before sending.
heightNoHeight to render the preview at before sending.
max_tokensNoUpper bound on response tokens.
systemNoOptional system instruction (defaults to a TouchDesigner vision-assistant prompt).
Behavior4/5

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

The description discloses behavioral details beyond the annotations, such as using `ctx.llm.complete()` with a MultimodalMessage and returning a specific JSON object. It also clarifies that the tool always routes through the vision model. No contradiction with annotations (readOnlyHint=true, destructiveHint=false).

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 three sentences with no fluff. It front-loads the purpose, outputs, and implementation details, then differentiates from a sibling. Every sentence adds value and is well-structured.

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?

Given no output schema, the description explicitly lists the return fields and mentions error behavior ('friendly error otherwise'). It covers prerequisites and use case differences, making it fairly complete for a tool with moderate complexity (6 params, 2 required).

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%, and the schema already documents all parameters well. The description adds marginal value by mentioning the internal implementation (MultimodalMessage) and the output format, but does not significantly enhance parameter understanding beyond the schema.

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 uses a specific verb ('ask') and identifies the resource (TOP preview image), clearly stating the purpose. It distinguishes this from the sibling `caption_top` by noting that copilot_vision always routes through the vision model with a custom question, whereas `caption_top` is deterministic-by-default.

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 provides clear context for when to use this tool, including prerequisites (LLM backend) and a comparison with the alternative `caption_top`. It does not explicitly state when not to use it, but the differentiation is sufficient for selection.

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/Pantani/tdmcp'

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