Skip to main content
Glama

Global - Create Face Person (0.03 credits)

face_recognition_persons

Enroll a person in a face collection by providing name, images, gender, date of birth, and collections. Use it to add someone you can search for later; returns the person ID.

Instructions

Enrolls a person in your face collection. Returns the person id. Inputs: name, images, gender (M or F), date_of_birth, and collections. Use it to add someone you will search for later. Use face_recognition_persons_delete to remove them. Deleting requires confirm true. 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": {
      "name": "<name>",
      "images": "<images>",
      "gender": "<gender>",
      "date_of_birth": "<date_of_birth>",
      "collections": "<collections>"
    },
    "name": "face_recognition_persons"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
genderYes
imagesYes
collectionsYes
date_of_birthYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, openWorld=true and idempotent=false. The description adds genuinely useful context the annotations lack: the tool returns a person id and costs 0.03 credits per successful call. However it says nothing about what happens on duplicate enrollment, image validation failures, or whether a failed call is still billed, which matter for a non-idempotent write.

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?

Short sentences with the core action and return value front-loaded, which is the right ordering. There is minor waste: 'Use it to add someone you will search for later' partly restates the opening, and 'Deleting requires confirm true' describes the sibling delete tool rather than this one.

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?

Purpose, cost, return value, and the paired delete tool are all covered, which is respectable for a five-required-parameter write with no output schema. The gaps are the ones that block correct invocation: the accepted format for 'images' and how 'collections' is identified.

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?

Schema description coverage is 0%, so the description carries the full burden, but it only enumerates the five parameter names. It restates the gender enum (already in the schema) and leaves the genuinely ambiguous ones unexplained: 'images' is typed as a plain string but could be a URL, base64 blob, or list, and 'collections' is a string with no indication of whether it takes an id or a name.

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?

Opens with a specific verb and resource: 'Enrolls a person in your face collection.' The name 'face_recognition_persons' is ambiguous on its own (could read as a list/search tool), but the description resolves it immediately by naming the create action and the returned person id.

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 a clear use condition ('add someone you will search for later') and names an explicit alternative for the inverse operation (face_recognition_persons_delete). It does not address adjacent cases such as re-enrolling an existing person or when to prefer a live-capture enrollment path, so guidance is strong but not exhaustive.

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