Skip to main content
Glama
facenest-mcp

facenest-mcp

by eclgo

facenest_semantic_search

Search a local photo library with natural-language phrases like 'dog on a beach'; return matching images with similarity scores. If the model is cold, get a warming notice and retry shortly.

Instructions

Semantic (natural-language) search: 'photos with a dog on a beach'. Needs the semantic model downloaded and consumes one free-tier query (Pro: unlimited). Returns {text, count, images:[{image_id, similarity, display_name, thumb_url_abs, app_url, taken_at, date_source, shot_at, file_mtime}], index_total, library_total, unindexed, coverage_note, rewritten, threshold_used, sensitivity, max_similarity, below_threshold_count, threshold_note}. If the model is cold, the reply is {warming:true, count:0, note, retry_after_sec} instead of blocking; tell the user and retry the same query after ~10–20 s. compact:true returns only image_id/display_name/taken_at/similarity/thumb_url_abs/app_url/source_path. Results are cut by the user's Settings → Search sensitivity (sensitivity). When count is 0 or below_threshold_count > 0, max_similarity is the best candidate's score: report that it is below the user's threshold and offer to raise the sensitivity — do NOT say the library has no such photo. unindexed > 0 means some photos have no semantic vector yet and CANNOT appear in these results — say so instead of concluding 'no such photo'. rewritten is only a bare-word→phrase fallback, not translation. For image-to-image use facenest_similar_photos. Semantic results are NOT a live album rule — to filter them by date/place/camera pass the returned ids to facenest_query_photos {type:'photos', op:'in', ids:[…]} (read-only); to keep them, pass the same ids to facenest_create_smart_album / facenest_update_smart_album.

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": {
      "text": "<text>"
    },
    "name": "facenest_semantic_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesNatural-language query.
limitNo
compactNoOnly id/display_name/taken_at/similarity/thumb_url_abs/app_url/source_path.

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, the description carries the full burden and does so: it discloses query cost, the cold-model {warming:true, retry_after_sec} short-circuit with a 10–20 s retry instruction, user-sensitivity threshold cutting, and that unindexed photos cannot appear in results. It also warns against the wrong conclusion when count is 0 and explains what max_similarity and rewritten actually mean.

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 core purpose and query example, and nearly every clause is operative (retry timing, sensitivity caveat, sibling routing). The long inline enumeration of return fields and the dense run-on sentence about filtering/persisting make it heavier than ideal, but little is genuinely wasted.

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, so the description must document the return shape itself — and it does, covering the normal payload, the warming payload, the compact variant, and the threshold/unindexed diagnostics. For a 3-parameter tool with a cost-bearing external dependency, nothing an agent needs to call it correctly is missing.

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 67% and the description adds real meaning: `text` is natural language, and `compact:true` returns a specific reduced field set that is spelled out rather than left to the schema blurb. `limit` is not discussed in the description, though its schema default and 1–200 bounds are self-explanatory.

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 ('Semantic (natural-language) search') and supplies a concrete example query ('photos with a dog on a beach'), which immediately disambiguates it from keyword search and from facenest_similar_photos.

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?

Explicitly routes image-to-image work to facenest_similar_photos, explains that semantic results are not a live album rule, and tells the agent to re-filter via facenest_query_photos {op:'in'} or persist via facenest_create_smart_album / facenest_update_smart_album. It also states the prerequisite (semantic model downloaded) and the cost model (one free-tier query, unlimited on Pro).

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