Skip to main content
Glama
facenest-mcp

facenest-mcp

by eclgo

facenest_find_person_in_videos

Locate when a specific person appears in videos by cluster ID, face ID, or reference still, and get exact timestamps for each matching frame.

Instructions

Which videos a person appears in, and at what second. Give ONE of: cluster_id (from facenest_list_people), face_id (a library face OR a video face returned by this tool / facenest_image_context.faces), or a still of the person. Optional video_id limits the search to one video. Returns {person:{cluster_id, reference_face, reference_source, video_id}, threshold, total_faces, max_similarity, below_threshold_count, order, match_state, total_matches, no_comparable_faces, matches_found, frames:[{video_id, video_name, frame_id, face_id, timestamp_sec, timecode, similarity, bbox, det_score, frame_path, frame_url}]}. face_id in a frame can be fed straight back as face_id (no need to save the frame first). Results use the same same-person-across-frames grouping as the video page. max_similarity is the best score even when it is below threshold; if matches_found is 0 and max_similarity > 0, say the best candidate is BELOW the user's threshold (ask to lower it) — never claim the person does not appear. Time accuracy = ± one frame interval (default 2 s).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "facenest_find_person_in_videos"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
orderNosimilarity
face_idNoLibrary face or video face (both work).
video_idNoOptional: only this video.
thresholdNo
cluster_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.12

TDQS

A4.1/5.0
Behavior4/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 substantial work: it discloses the same-person-across-frames grouping, that `max_similarity` is reported even below threshold, the critical rule never to claim a person does not appear when max_similarity > 0, and the ± one frame interval (default 2 s) time accuracy. Gaps remain around cost/performance and any auth or permission expectations for a vision search.

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?

The purpose is front-loaded in the first clause and the identity options follow immediately, so the agent gets the essentials first. The long inline return-shape object is dense and hard to scan, but it substitutes for a missing output schema; most sentences earn their place, with only mild redundancy in restating the face_id feedback loop.

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 vision search with no output schema and no annotations, the description covers the return payload field by field, the threshold edge case, and the temporal precision — enough for an agent to call it and report results honestly. Remaining shortfalls are the unexplained `limit` and `order` parameters and any note on expected latency or result volume.

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

Parameters3/5

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

Schema coverage is only 33%, but the description compensates for the important parameters: it explains where `cluster_id` comes from, that `face_id` accepts both library and video faces, and that `video_id` restricts scope, plus the meaning of `threshold` via the below-threshold interpretation rule. `limit` and `order` (the sole enum) get no explanation in the description, leaving two of six parameters undocumented in both places.

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 resource and outcome — which videos a person appears in and at what second — plus the three mutually exclusive ways to identify the person (cluster_id, face_id, still). It also scopes itself against siblings by naming facenest_list_people and facenest_image_context.faces as sources for its inputs, so an agent can select it confidently.

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?

Explicitly says 'Give ONE of' with three input modes and explains that optional `video_id` narrows the search to a single video, which is real when-to-use guidance. It also gives downstream instructions for interpreting zero matches against the threshold. It stops short of naming a sibling alternative for the photos-only case (e.g. facenest_person_photos), so the exclusion is implied rather than stated.

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