Skip to main content
Glama

AppScreenDesign 3D Screenshot Studio

apply_candidate

Destructive

Atomically replace project template, full panel sequence and supplied copy with one successfully rendered comparison choice. Send expectedRevision explicitly. Rejects changed project or uploaded images; create a new comparison instead of overwriting newer work. Uses pinned template and original owned assets; preview placeholder words are never saved. Returns new project revision.

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": {
      "projectId": "<projectId>",
      "candidateId": "<candidateId>",
      "choice": "<choice>",
      "expectedRevision": "<expectedRevision>"
    },
    "name": "apply_candidate"
  }
}

Input Schema

NameRequiredDescriptionDefault
choiceYes
projectIdYes
candidateIdYes
expectedRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructive=true, readOnly=false and non-idempotent, so the safety profile is covered; the description adds genuinely useful behavior beyond that — atomic replacement, rejection on stale project or image state, pinned template and original owned assets, and that preview placeholder words are never persisted. Only the return format detail is thin, which is minor.

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 atomic replacement and the expectedRevision requirement are front-loaded, and each sentence carries distinct behavioral information. A few clauses are packed tightly ('pinned template and original owned assets') but nothing is wasted.

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 destructive mutation with no output schema, the description covers atomicity, concurrency conflict handling, asset provenance, and the return value ('new project revision'). The only remaining gap is precise per-parameter semantics, which is a modest omission.

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% across four required parameters, so the description must compensate. It clarifies expectedRevision's role as a concurrency token and hints at 'choice' as the selected rendered candidate, but never explains the 1-8 range or how projectId and candidateId relate to the comparison being applied.

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?

The description names a specific verb and scope: atomically replace the project template, full panel sequence and supplied copy with a chosen rendered candidate. It is clearly distinguishable from sibling list/compare tools, though the dense phrasing of 'one successfully rendered comparison choice' takes a moment to parse.

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 explicit conditional guidance: send expectedRevision explicitly, and if the project or uploaded images changed, create a new comparison instead of overwriting. It stops short of naming a specific sibling tool for the alternative path, but the when-to-use and when-not-to-use conditions are clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources