Skip to main content
Glama

unfour.api.duplicate_request

unfour.api.duplicate_request

Duplicate a saved API request within its current collection or folder while preserving authentication, scripts, and untruncated content; it does not send traffic or expose secrets.

Instructions

Duplicates the original saved request in its current collection/folder through CommandBus, preserving authentication, scripts and untruncated content. Does not send traffic or return secrets.

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": {
      "requestId": "<requestId>"
    },
    "name": "unfour.api.duplicate_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestIdYes
workspaceIdNo

Output Schema

NameRequiredDescriptionDefault
requestYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, closed-world. The description adds genuinely new behavior: the duplicate preserves authentication, scripts and untruncated content, and it neither sends traffic nor returns secrets. It does not cover failure modes or whether repeated calls produce further copies, despite idempotentHint=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?

Two tight sentences, front-loaded with the action and scope, with the side-effect exclusions kept as a compact trailing clause. No redundant restatement of the name.

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?

A mutation tool with an output schema, so return values needn't be described; the description still covers content preservation, no-traffic side effects and secret safety. The remaining gap is parameter meaning (workspaceId) and duplicate-naming/error behavior.

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

Parameters2/5

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

Schema description coverage is 0% and the description never explains requestId or workspaceId. 'The original saved request' weakly implies requestId, but workspaceId — which likely scopes lookup across workspaces — is entirely unexplained in both schema and description.

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?

States a specific verb and resource, 'Duplicates the original saved request', plus its placement scope ('in its current collection/folder'). This clearly separates it from siblings like create_request or move_request, though it doesn't name those siblings explicitly.

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?

Usage is implied rather than stated: an agent can infer it is for copying an existing saved request instead of authoring a new one. There is no explicit when-to-use / when-not-to-use guidance nor a named alternative such as create_request.

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