Skip to main content
Glama

Add a technician

createTechnician

Creates a technician membership for your business, linking an existing user or establishing a new identity. Assigns roles, buddies, leads, and service areas while sending notifications.

Instructions

Add a technician

Creates a technician membership under the current business. If the phone/email matches an existing user, their account is linked. Otherwise a new user identity is created. Either way the membership starts active. The new member is notified (live mode only, best-effort): an email when email is supplied, an SMS when phone is supplied, both when both — informational only, no activation step (login stays passwordless: magic link / OTP). If the technician was previously removed (deactive) they are reactivated instead (also notified). Owner/Administrator groups cannot be assigned via API key, and not at all in sandbox mode.

Optional relations (all validated; any missing id → 404 TECHNICIAN_NOT_FOUND with missing_ids): buddy_ids sets this technician's buddy list (use when creating a lead); lead_ids adds this technician as a buddy of each named lead (use when creating a buddy — the buddy-side way to attach the same lead↔buddy relation); service_area_ids assigns the technician to those service areas.

start_location_type=office snapshots the business address + coordinates into the technician at create time; address, start_location_lat, start_location_long in the body are ignored. Requires the business to have coordinates set (else 400 BUSINESS_LOCATION_MISSING). start_location_type=home (or empty) uses the address + coordinates from the body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNoEmail address. At least one of phone/email is required (identity resolution key).
phoneNoAt least one of phone/email is required (identity resolution key).
addressNoHome address (the day-start point when start_location_type=home).
lead_idsNoLeads this technician is a buddy of (set when creating a buddy; the technician is appended to each lead's buddy list). Optional; max 50 technician ids.
buddy_idsNoBuddies of this technician (set when creating a lead). Optional; max 50 technician ids.
full_nameYesThe person's full display name. Required; max 255 chars.
job_titleNoDisplay title (e.g. "Senior HVAC Technician").
join_dateNoFirst working day (YYYY-MM-DD).
assignment_tierNoCrew tier the matching engine assigns by: lead (can head a job), buddy (crew helper), float (excluded from auto crew-assign).
idempotency_keyNoUnique key making retries safe: a repeat send with the same key replays the original response (header Idempotent-Replayed: true) instead of re-running the operation. Reusing a key with a different body returns 422 IDEMPOTENCY_KEY_REUSE. (sent as the Idempotency-Key header)
service_area_idsNoService areas to assign the technician to. Optional; max 50. Discover via GET /service-areas.
business_group_idYesRole group for the new member. Discover IDs via GET /permission/groups (Owner/Administrator groups are rejected in sandbox mode).
start_location_latNoExplicit day-start latitude in decimal degrees (-90..90); when set it wins over the address geocode.
start_location_longNoExplicit day-start longitude in decimal degrees (-180..180); when set it wins over the address geocode.
start_location_typeNoWhere the technician starts their day: home (their address) or office (the business location). Drives the engine's travel estimates.
Behavior5/5

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

Disclosure goes far beyond annotations: covers identity resolution, reactivation, notification, idempotency, start_location_type behavior, and group restrictions. No contradictions with annotations.

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?

Well-structured with three paragraphs, front-loaded with core purpose. A few redundancies exist but overall efficient for the complexity of the tool.

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 behavioral aspects thoroughly but lacks any mention of the response/return value. With no output schema, a brief note on what is returned would complete the picture.

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

Parameters4/5

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

Adds significant meaning beyond schema (identity resolution, start_location_type behavior, relations mechanic). Despite 100% schema coverage, description enriches understanding.

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?

Title and description clearly state 'Add a technician' and explain it creates a technician membership. Distinguishes from siblings like updateTechnician and deleteTechnician.

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?

Describes when to use (creating a technician) and includes context like identity resolution, reactivation, and restrictions. However, lacks explicit when-not-to-use or direct comparison to alternatives.

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/crisphive/crisphive-mcp'

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