Skip to main content
Glama

Global - Create Face Person With Liveness (0.53 credits)

face_recognition_persons_live

Checks liveness before enrolling a person, then searches your face collection and returns the person ID and match results.

Instructions

Enrolls a person only if the images pass liveness, then searches your collection. Returns the person id and any match. Inputs: name, images, gender, date_of_birth, collection_id, liveness_min_score, min_score, and search_mode (FAST or ACCURATE). Use face_recognition_persons to enroll without the live search. Costs 0.53 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": {
      "name": "<name>",
      "images": "<images>",
      "gender": "<gender>",
      "date_of_birth": "<date_of_birth>",
      "collection_id": "<collection_id>",
      "liveness_min_score": "<liveness_min_score>",
      "min_score": "<min_score>",
      "search_mode": "<search_mode>"
    },
    "name": "face_recognition_persons_live"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
genderYes
imagesYes
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.
date_of_birthYes
liveness_min_scoreYesMinimum liveness score threshold (0.5–1.0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=false and openWorld=true, so the description is not the only source of the mutation profile. It still adds real value beyond them: the conditional-enrollment semantics (no enrollment unless liveness passes), the return shape ('person id and any match'), and the billing rule ('0.53 credits per successful call'). It does not explain what is returned or charged when liveness fails, which is the main remaining behavioral gap.

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 gating behavior and the routing hint, then the return values and cost, in four tight sentences. The parameter enumeration is mostly redundant with the schema and is the one part that does not earn its space.

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?

For a non-idempotent, credit-charging enrollment tool with no output schema, the description does state return values and cost, which covers a lot. However, it leaves out failure semantics on liveness rejection, and the input contract for images is undefined anywhere in the definition, so an agent can still not call it correctly on the first try.

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

Parameters2/5

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

The sentence 'Inputs: name, images, gender, date_of_birth, collection_id, liveness_min_score, min_score, and search_mode (FAST or ACCURATE)' merely restates the schema, and even the enum values are repeated from structured data. With schema coverage at 50%, the description needed to compensate, yet the most consequential parameter 'images' remains a bare string with no indication of whether it accepts base64, URLs, or multiple images, and date_of_birth has no format either.

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 ('Enrolls a person') plus the conditional gate ('only if the images pass liveness') and the follow-on action ('then searches your collection'). It also names the sibling it is not ('Use face_recognition_persons to enroll without the live search'), so an agent can separate 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 alternative and the condition that selects it: enroll here when liveness validation is required, otherwise use face_recognition_persons. It does not cover prerequisites (e.g. that collection_id must already exist) or when to prefer the other liveness/search siblings, but the primary routing decision is unambiguous.

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