Skip to main content
Glama

Set up face tracking

setup_face_tracking

Loads MediaPipe for face landmark tracking from a webcam, outputs a 468/478-point CHOP with 3D coordinates and confidence for data visualization.

Instructions

One-shot face-landmark tracking from a webcam: loads the MediaPipe ENGINE (install first with tdmcp install mediapipe-touchdesigner), starts the timeline, and builds an adapter Script CHOP that emits a 468-sample (or 478 with iris) face-landmark CHOP (tx/ty/tz/confidence, centred on nose tip). Feeds directly into bind_to_channel and create_data_visualization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tox_pathNoPath to the MediaPipe ENGINE .tox (MediaPipe.tox). Defaults to the package staged by `tdmcp install mediapipe-touchdesigner`, falling back to ~/tdmcp-packages.
parent_pathNoCOMP to load the engine into./project1
num_landmarksNo468 = MediaPipe FaceMesh base; 478 adds iris landmarks (10 extra) when iris tracking is enabled in the engine.
Behavior4/5

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

The description discloses key behavioral aspects: loads MediaPipe ENGINE, starts timeline, builds Script CHOP, and connects to webcam. It mentions a prerequisite (install mediapipe-touchdesigner) and notes the output format. Annotations indicate readOnlyHint=false (modifies state) and openWorldHint=true (external I/O), which the description supports without contradiction.

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?

The description is a single dense paragraph that front-loads the core action and efficiently details the setup steps, output, and integration. Every sentence adds value with no redundancy.

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 setup tool with 3 optional parameters and no output schema, the description covers the main workflow, prerequisites, and output format. It lacks info on failure modes or idempotency if run multiple times, but overall is sufficiently complete given the tool's simplicity and annotation coverage.

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?

The input schema has 100% coverage with descriptions for all three parameters (tox_path, parent_path, num_landmarks). The description adds minimal extra meaning beyond the schema, only contextualizing num_landmarks with iris tracking. Baseline 3 is appropriate given high schema coverage.

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 clearly states it is a one-shot setup for face-landmark tracking from a webcam, specifying the verb (setup), resource (face tracking), and output (468/478-sample CHOP). It distinguishes from sibling tools like setup_body_tracking by focusing on face landmarks.

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?

The description implies usage for face tracking and mentions integration with bind_to_channel and create_data_visualization, but does not explicitly state when to use this tool over alternatives like setup_hand_tracking or setup_body_tracking. No when-not-to-use guidance is provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pantani/tdmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server