Skip to main content
Glama
facenest-mcp

facenest-mcp

by eclgo

facenest_delete_smart_album

Deletes a smart album's definition by smart_id while keeping all photos, tags, faces, and files intact. Use it to discard an album created with wrong rules; the returned snapshot can restore it later.

Instructions

WRITE TOOL (needs 'Allow writes'), max 20 deletes per session. Deletes ONE smart album DEFINITION by smart_id — photos, tags, faces and files are never touched. Only smart_id is accepted (never a name: legacy duplicates would be ambiguous). Returns {ok, deleted:{smart_id, name, description, rules, match_mode, sort, sort_dir, group_by, cover_image_id}, usage:'1/20', note}. Keep the snapshot: passing it back to facenest_create_smart_album restores the album. Unknown id -> ERR_SMART_NOT_FOUND. Use this to discard an album you just created with wrong rules instead of renaming it (a rename keeps the name occupied and a new album with that name is rejected).

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": {
      "smart_id": "<smart_id>"
    },
    "name": "facenest_delete_smart_album"
  }
}

Input Schema

NameRequiredDescriptionDefault
smart_idYesFrom facenest_list_smart_albums in this session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.12

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: write permission requirement ('Allow writes'), a session rate limit of 20 deletes, the exact return payload including a restorable snapshot, and the error code ERR_SMART_NOT_FOUND for unknown ids. It also clarifies what is NOT destroyed, which is the key safety question for a delete tool.

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 the most important constraint (WRITE TOOL, permission, delete cap) and then moves through semantics, return shape, and usage rationale. Dense and mostly waste-free, though the run is long and the return-shape enumeration could be tightened.

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

Completeness5/5

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

No output schema exists, but the description fully specifies the return object, the usage counter format, and the error case. Combined with the restore path via the create sibling, an agent has everything needed to call this safely and handle failure without further lookup.

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% and the single parameter is documented, so the schema already does the heavy lifting. The description still adds meaning beyond it by explaining why a name can never substitute for `smart_id` (legacy duplicate names would be ambiguous), which guides correct invocation rather than restating the schema.

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 — deletes ONE smart album DEFINITION by `smart_id` — and immediately scopes what is untouched (photos, tags, faces, files), which separates it from sibling tools like `facenest_update_smart_album` or `facenest_list_smart_albums`. An agent can identify the operation and its blast radius without consulting the 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?

Gives an explicit decision rule: discard an album you just created with wrong rules rather than renaming it, with the consequence spelled out (a rename keeps the name occupied, blocking a new album with that name). It also names the alternative path back (`facenest_create_smart_album`) and the restriction that only `smart_id` is accepted, never a name.

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