Skip to main content
Glama

UI Preview Apply Diff

app_preview_apply

Calculate an app-only dry-run diff of profile or switchboard changes before applying them, so you can review exactly what will change.

Instructions

App-only dry-run diff calculation before applying profile or switchboard changes

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "app_preview_apply"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileIdNo
profileNameNo
targetAgentsNo
enabledServersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the key trait that this is a dry run, i.e. non-mutating. It says nothing about what the diff contains, whether it has any side effects, or what permissions are needed, and 'app-only' is left unexplained.

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?

A single compact sentence with the action front-loaded and no filler. The terseness is offset by the opaque 'app-only' qualifier, which costs more than it saves in word count.

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

Completeness2/5

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

For a tool whose entire value is the returned diff, there is no output schema and no description of the diff's shape or granularity. Combined with four undocumented parameters and no annotations, an agent cannot predict what it will receive or what the inputs do.

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% across four parameters, so the description is the only source of meaning and it supplies none. It never explains profileId versus profileName, what targetAgents means, or how enabledServers feeds the diff.

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 action (dry-run diff calculation) and the domain it operates on (profile or switchboard changes), which is more informative than the bare name. However, 'app-only' is ambiguous and the description never distinguishes this tool from the similarly named sibling preview_profile_switch, leaving real overlap for an agent to resolve.

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 phrase 'before applying profile or switchboard changes' implies a sequencing rule, which is useful context. But it names no alternative tool and gives no when-not condition, so an agent must guess whether this supersedes preview_profile_switch or app_apply_profile.

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