Skip to main content
Glama

Clone a Forms image

forms_images_clone

Copy an existing image into a form; returns the new image with its integer id.

Instructions

Copy an existing image into a form; returns the new image with its integer id.

Reference the returned id from a question's, option's or form style's image.

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": {
      "survey_id": "<survey_id>",
      "body": "<body>"
    },
    "name": "forms_images_clone"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe image to copy and the clone's name.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
survey_idYesForm id (24-char hex).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv0.122.1
    • changedInput schema / properties / body / properties / name / description
      Previous value: -"File name for the clone."New value: +"Ignored by the API: the clone keeps the file name of the original."
  3. First observedv0.67.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true, so the safety profile is covered. The description adds genuine behavioral value beyond that by stating the call returns the new image with its integer id and where that id must be referenced, which matters since there is no output schema. It does not mention failure behavior or the fact that cloning always produces a new object rather than modifying an existing one.

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?

Two dense sentences with zero filler; the primary action and return value come first, and the downstream id reference follows as a second, clearly scoped sentence. Nothing is repeated from the schema or annotations.

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?

For a three-parameter clone tool with fully described schema, no output schema, and complete safety annotations, the description covers action, return value, and how the result is consumed. What is missing is edge-case behavior (nonexistent source image, duplicate names, what dry_run returns) which would round it out but is not strictly required to call it correctly.

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%, so the body fields (id, name, links), survey_id format, and dry_run are already fully documented in the schema, including the note that name is ignored. The description's only added semantic is that the id it returns is consumed by a question's, option's, or form style's image field, which is marginal at the parameter level. Baseline 3 applies when the schema carries the parameter semantics.

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?

"Copy an existing image into a form" gives a specific verb (copy) and resource (forms image), and the second clause names the return value, the new image with its integer id. The resource wording separates it from the wiki clone siblings, but the description never names or contrasts an alternative, so differentiation is by resource only rather than explicit routing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The line "Reference the returned id from a question's, option's or form style's image" implies the intended workflow and tells the agent what to do after cloning, which is useful. However, there is no explicit when-to-use or when-not-to-use guidance and no stated prerequisite (for example, that the source image or survey_id must already exist), so usage must be inferred.

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

Deploy Server

Other Tools