Skip to main content
Glama

Global - Face Search 1:N (Live) (0.43 credits)

face_recognition_search_live_face

Run live 1:N face searches against your enrolled collection to check liveness and return identity matches for verification.

Instructions

Live 1:N face search. Returns liveness and matches in your collection. Inputs: image, os, liveness_min_score, min_score, search_mode, and collection_id. Requires collection_id to scope 1:N search to your collection. Matched-person details are omitted from responses when collection_id is not provided. Costs 0.43 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": {
      "image": "<image>",
      "os": "<os>",
      "liveness_min_score": "<liveness_min_score>",
      "min_score": "<min_score>",
      "search_mode": "<search_mode>",
      "collection_id": "<collection_id>"
    },
    "name": "face_recognition_search_live_face"
  }
}

Input Schema

NameRequiredDescriptionDefault
osYesClient operating system. Allowed values: ANDROID, IOS, DESKTOP.
imageYesFace or document photo as a base64-encoded JPEG/PNG string (with or without a data:image/...;base64, prefix) or a public https:// image URL.
min_scoreYesMinimum face match score threshold (0.2–1.0 depending on endpoint).
search_modeYesFace search accuracy mode. Allowed values: FAST, ACCURATE.
collection_idYesFace collection ID that scopes search to your enrolled persons. Required for face detect and 1:N search tools.
liveness_min_scoreYesMinimum liveness score threshold (0.5–1.0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

B3.4/5.0
Behavior3/5

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

Beyond the annotations, the description adds genuinely useful context: billing of 0.43 credits per successful call and what the response contains (liveness plus matches). However, the claim that "Matched-person details are omitted from responses when collection_id is not provided" conflicts with the schema marking collection_id as required, leaving the agent unsure whether an unscoped call is even possible.

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

Conciseness3/5

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

The description is front-loaded with purpose and the return summary, which is good, but the sentence "Inputs: image, os, liveness_min_score, min_score, search_mode, and collection_id" is pure duplication of the schema and earns no place. The collection_id sentences are also partially redundant and mutually confusing.

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-required-parameter tool with no output schema and full schema documentation, the description covers purpose, return contents, scoping key, and cost. The main gap is the unresolved ambiguity around collection_id rather than any missing call-critical information.

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 100%, so all six parameters are already documented, and the description's list of input names adds nothing. The only semantic value is the note about collection_id's scoping effect, which is partially undercut by the contradictory omission statement. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource plus scope: "Live 1:N face search," and says it "Returns liveness and matches in your collection." The word "Live" and the liveness output implicitly separate it from the non-live siblings, but no alternative is named explicitly, so an agent still has to infer which sibling to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Guidance is limited to the collection_id scoping rule ("Requires collection_id to scope 1:N search to your collection"). There is no explicit when-to-use or when-not-to-use compared with face_recognition_search, face_recognition_search_active_user, or face_recognition_liveness, and no stated prerequisites such as enrollment.

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