Skip to main content
Glama
facenest-mcp

facenest-mcp

by eclgo

facenest_update_smart_album

Update an existing smart album in place by changing only the fields you pass—name, description, rules, match mode, sort, grouping, or cover image—while keeping the same smart album ID.

Instructions

WRITE TOOL (needs 'Allow writes'). Change an existing smart album IN PLACE: name, description, rules, match_mode, sort, sort_dir, group_by, cover_image_id. Only the fields you pass are changed; the smart_id stays the same. Rules use the same closed set as facenest_create_smart_album. Returns {smart_id, name, photo_count} (plus rule_counts/zero_rules when the result is empty). Album names are unique: renaming to an existing name is rejected with ERR_SMART_NAME_DUP (legacy duplicates may still exist; address albums by smart_id). Unknown id -> ERR_SMART_NOT_FOUND (call facenest_list_smart_albums for a fresh id).

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_update_smart_album"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
sortNo
rulesNoperson / tag / date / place / photos objects, max 30.
group_byNo
smart_idYes
sort_dirNo
match_modeNo
descriptionNo
cover_image_idNoOptional cover photo id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.12

TDQS

A4.6/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 well: it declares the write permission requirement, partial-update semantics ('Only the fields you pass are changed; the smart_id stays the same'), the uniqueness constraint with its error code, and the not-found path. It also discloses the return payload including the empty-result variant, which no output schema provides.

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-loads the write requirement and the in-place/partial-update contract, then packs returns and error codes into a tight tail. Dense but essentially waste-free; the return-and-error sentence is slightly overloaded with parentheticals.

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?

Nine parameters, no annotations, and no output schema, yet the description covers mutation scope, identity stability, return shape, and the two named failure modes. An agent has everything needed to call it correctly and interpret the result.

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 description coverage is only 22%, but the description names all eight optional fields and adds the crucial partial-update meaning that the schema cannot express. It still leaves semantics of match_mode ('all' vs 'any'), sort_dir, and group_by to the enum values, and defers the rule object shape to a sibling tool reference.

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 ('Change an existing smart album IN PLACE') and immediately enumerates the mutable surface (name, description, rules, match_mode, sort, sort_dir, group_by, cover_image_id). An agent can distinguish this from facenest_create_smart_album or facenest_delete_smart_album without opening 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 Guidelines4/5

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

Gives a concrete precondition ('WRITE TOOL (needs Allow writes)') and routes the agent on failure: unknown id means call facenest_list_smart_albums for a fresh id, and rules follow the same closed set as facenest_create_smart_album. It does not explicitly say to use create_smart_album when the album doesn't exist yet, so one alternative is only implied.

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