Skip to main content
Glama

连接参考素材

pavo_connect_references
Idempotent

Connect ordered image, video, or audio references to a target node without replacing existing links; use it to attach reference or prompt media with explicit order and roles.

Instructions

为节点添加有序图片/视频/音频参考。references每项含source=node_key、可选role=reference或prompt、media_order及原生handle/port。首尾帧必须用apply_template。不会替换已有连接。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_uuid": "<project_uuid>",
      "canvas_uuid": "<canvas_uuid>",
      "target_node_key": "<target_node_key>",
      "references": "<references>",
      "operation_id": "<operation_id>"
    },
    "name": "pavo_connect_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
referencesYes
canvas_uuidYes
operation_idYes
project_uuidYes
target_node_keyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare the write-but-non-destructive, idempotent, open-world profile, and the description usefully confirms the additive behavior ('不会替换已有连接'). However, it never explains the required operation_id, how idempotency is enforced on retries, or what dry_run actually does, which are the behavioral details an agent most needs for a mutation.

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?

Four short sentences, front-loaded with the core action and followed by the payload shape and the routing rule; no filler. It reads slightly telegraphic, packing item fields into one clause, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and the reference item shape plus first/last-frame routing are covered. Still, for a 6-parameter mutation with a required operation_id and a dry_run flag, the missing explanation of those two controls leaves a meaningful gap.

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 coverage is 0%, so the description has to carry parameter meaning. It does well on the untyped references array by documenting source=node_key, optional role=reference/prompt, and media_order, but leaves project_uuid, canvas_uuid, target_node_key, operation_id, and dry_run entirely unexplained in both places.

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 definition opens with a specific verb and resource: adding ordered image/video/audio references to a node. It also names the one sibling that handles the adjacent case (first/last frames must go through apply_template), so an agent can separate the two without opening either schema.

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 gives one explicit exclusion with a named alternative ('首尾帧必须用apply_template') and states that existing connections are not replaced, implying additive use. It does not cover the more general when-to-use question, such as how it relates to pavo_list_connections or apply_canvas, so it stops short of full routing guidance.

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