Skip to main content
Glama

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

face_recognition_search_crops

Search enrolled face collections using cropped face images to find 1:N matches and scores. Set min_score and FAST or ACCURATE mode to control accuracy and scope results by collection_id.

Instructions

Face search using cropped face images (1:N). Returns matches and scores inside your collection. Inputs: images, min_score, and search_mode. Pass collection_id to scope results. Use face_recognition_search when you send a full photo instead of crops. 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_crops"
  }
}

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/5.0
Behavior4/5

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

Annotations cover the safety profile (openWorldHint, non-destructive, non-idempotent), and the description adds meaningful context on top: a per-call cost of 0.03 credits charged on successful calls, and the fact that results are limited to your own collection. It does not mention rate limits, auth requirements, or pagination of large match sets.

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 operation and kept to four short sentences. The 'Inputs: images, min_score, and search_mode' line largely duplicates what the schema already shows, so it is mildly wasteful but not disruptive.

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

Completeness3/5

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

Covers return content (matches and scores), cost, and scoping, which compensates for the absent output schema. However, with no schema description for the required 'images' string, the description leaves the caller unsure how to encode multiple crops, and says nothing about result volume limits beyond the max_results parameter.

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 description coverage is 80%, so the schema already explains min_score, max_results, search_mode, and collection_id. The description mostly restates the same parameter names, adding only the scoping intent for collection_id. It never clarifies the format of the 'images' string (base64, URL, or multiple crops), which is the highest-value gap for the primary required parameter.

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 ('Face search using cropped face images (1:N)') plus scope ('inside your collection') and return content ('matches and scores'). Naming the crop-based variant alongside 'face_recognition_search' for full photos lets an agent distinguish the two without opening either 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 an explicit routing rule: use face_recognition_search when sending a full photo instead of crops. Also states that collection_id scopes results. Stops short of any when-not-to-use exclusions (e.g. which 1:N variant applies to live captures), so it is clear context rather than a complete decision tree.

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