Skip to main content
Glama

Sergio by Serviche

Edit Showcase photos

edit_showcase_photos
Idempotent

Changes the business's Showcase photos as the Photos page does: op pair or merge (photo_ids [before, after]), unpair or swap_sides (photo_ids [one]), favorite (photo_ids and value true/false), unpublish or delete (photo_ids 1-500). photo_ids and company_id come from read entity showcase_photos (company_id is the Showcase company the org is linked to). Visual pair alignment (dragging images) stays on the Photos page. The change returns through Showcase's feed. Pass the same idempotency_key when retrying; a repeat returns the first result. An owner-level change: Sergio tells the owner after it is made.

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": {
      "op": "<op>",
      "company_id": "<company_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "edit_showcase_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
opYes
valueNo
reasonNoWhy you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change.
photo_idsNo
company_idYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior2/5

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

The description adds genuinely useful behavior beyond the annotations — retry semantics ("Pass the same idempotency_key... a repeat returns the first result"), propagation ("The change returns through Showcase's feed"), and an owner-facing side effect (Sergio notifies the owner) — plus it marks the call as owner-level. However, it discloses a "delete" operation over photo_ids, which conflicts with the supplied destructiveHint=false, so the write profile an agent infers from annotations is understated by the description's own text.

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?

Front-loaded with purpose and operation list, then sourcing, exclusions, and side effects in descending importance; nearly every clause carries information. It is dense to the point of being a single run-on with heavy parentheticals, which costs some readability but not correctness.

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 six-parameter mutation tool with no output schema, it covers operations, id provenance, idempotency/retry behavior, propagation, owner notification, and out-of-scope work. Gaps remain on reversibility of unpublish vs delete and on failure modes, but the essential calling information is present.

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

Parameters5/5

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

With only 33% schema description coverage, the description carries the burden and does: it specifies the exact photo_ids cardinality per operation (two ids for pair/merge, one for unpair/swap_sides, up to 500 for unpublish/delete), the meaning of value for favorite, and the provenance of company_id. The schema documents reason and idempotency_key but says nothing about op-specific argument shapes, so this is real added meaning.

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?

States a specific verb and resource ("Changes the business's Showcase photos") and then enumerates the seven supported operations with their argument shapes, so an agent knows exactly what it can do without opening the schema. It also explicitly bounds the scope against the Photos page, which is the natural alternative surface for this resource.

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?

Gives per-operation usage mapping (pair/merge take [before, after], unpair/swap_sides take one id, favorite pairs photo_ids with value, unpublish/delete accept 1-500) and states where ids must come from: "photo_ids and company_id come from read entity showcase_photos". It also carves out an exclusion — "Visual pair alignment (dragging images) stays on the Photos page" — but does not name a sibling tool or spell out preconditions such as permissions.

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