Skip to main content
Glama

Global - Face Search (1:N) (0.03 credits)

face_recognition_search

Search faces against a collection to return matching person IDs and scores using a configurable threshold and accuracy mode; pass a collection ID to scope results to your enrolled people.

Instructions

Face search (1:N) against a collection. Returns matching person ids and scores. Inputs: images, min_score, and search_mode. Pass collection_id or matches are not tied to your people. Use the crops tool to search cropped faces, and search_live_face when the probe must be live. Costs 0.03 credits per successful call.

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": {
      "images": "<images>",
      "min_score": "<min_score>",
      "search_mode": "<search_mode>"
    },
    "name": "face_recognition_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
imagesYes
min_scoreYesMinimum face match score threshold (0.2–1.0 depending on endpoint).
max_resultsNoMaximum number of search results to return.
search_modeYesFace search accuracy mode. Allowed values: FAST, ACCURATE.
collection_idNoFace collection ID that scopes search to your enrolled persons. Required for face detect and 1:N search tools.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true and readOnlyHint=false, so the description's added value is the cost model ('0.03 credits per successful call') and the scoping side effect of a missing collection_id. It also discloses the return payload (person ids and scores), which annotations cannot. It does not mention latency differences between FAST and ACCURATE modes, which would be the next useful behavioral note.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Five short sentences, each carrying distinct information: purpose, return, key inputs, scoping caveat, alternatives, and cost. Nothing is repeated from the title without added specificity ('per successful call' extends the bare credit figure in the title).

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, yet the description states what comes back (person ids and scores), and it covers cost, scoping, and sibling alternatives. For a five-parameter search tool this covers everything an agent needs before calling.

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 80%, so the baseline is 3, but the description adds real meaning beyond the schema for collection_id by explaining the consequence of omission rather than just restating that it is required. max_results is left entirely to the schema, and the 'Inputs' list omits collection_id even though the following sentence covers it, which is a minor structural wrinkle.

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?

The description opens with a specific verb-plus-resource statement ('Face search (1:N) against a collection') and immediately states the return ('matching person ids and scores'). It also names sibling tools it is not, so an agent can distinguish it from face_recognition_search_crops and face_recognition_search_live_face without opening another 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?

Explicit routing guidance is present: use the crops tool for cropped faces, and search_live_face when the probe must be live. It also states the consequence of omitting collection_id ('matches are not tied to your people'), which tells the agent when the parameter is effectively mandatory.

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

Deploy Server

Other Tools