Skip to main content
Glama

Add before after

add_before_after

Post a before/after visual comparison onto a ticket — two images shown side by side and with a drag slider in the ticket view, so the PO can compare the current state against the proposed/implemented one. Use image URLs from capture_screenshot, generate_image, or already-uploaded attachments. Use this for UI/website changes; use a mermaid diagram (in a message or the body) for flows/logic. Add visuals only when they help.

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": {
      "ticket_id": "<ticket_id>",
      "before_url": "<before_url>",
      "after_url": "<after_url>"
    },
    "name": "add_before_after"
  }
}

Input Schema

NameRequiredDescriptionDefault
captionNoOptional caption describing what changed
contentNoOptional message text (defaults to the caption or 'Vorher / Nachher')
after_urlYesURL of the 'after' image (proposed/implemented state)
ticket_idYesTicket UUID to attach the comparison to
before_urlYesURL of the 'before' image (current state)
is_internalNoInternal note (default false = visible to the customer/PO)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish that this writes data, is non-destructive, and is not idempotent. The description adds value beyond them by describing what the PO actually sees (side-by-side with slider) and by noting the default visibility is customer-facing. It never warns that a repeated call will create a duplicate comparison, which is the one behavioral trait an agent most needs for a non-idempotent write.

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?

Three sentences, front-loaded with what the tool produces, then sources, then the exclusion rule. Nothing is redundant with the title or the schema, and every sentence carries a distinct instruction.

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?

With six fully documented parameters and no output schema, the description covers intent, input provenance, and the alternative for non-visual content, which is sufficient to call it correctly. The remaining gap is operational: nothing about duplicate creation on repeat calls or any image format/size expectations.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds a real constraint the schema does not: the URL parameters must come from capture_screenshot, generate_image, or already-uploaded attachments. That narrows the valid input domain beyond the plain 'URL of the before image' schema text.

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 first sentence states a specific verb and resource ('post a before/after visual comparison onto a ticket') and even describes the rendered result: two images side by side with a drag slider. That is enough for an agent to tell it apart from add_message, add_document, or attach_mockup without opening a schema.

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

Usage Guidelines5/5

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

It names the three valid image sources (capture_screenshot, generate_image, existing attachments) and draws an explicit boundary: UI/website changes here, mermaid diagrams for flows/logic. The closing 'add visuals only when they help' gives a clear restraint condition, so both when and when-not are covered.

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