Skip to main content
Glama

CallMCP — Phone Call MCP Server

Create Agent

create_agent

Create a new KaiCalls agent — the secretary that answers this business’s calls (the live voice agent plus KaiCalls records) — with a system prompt, greeting, voice, and model. Its starting settings are saved as version 1 and each later change as a new version (list_config_versions); rollback_config restores a version's greeting, voice, prompt, model and summary/scoring. Compliance: KaiCalls automatically applies state-aware AI-disclosure and consent handling to every agent it provisions, and flags high-risk business categories for extra review.

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": {
      "business_id": "<business_id>",
      "name": "<name>"
    },
    "name": "create_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesAgent display name.
modelNoLanguage model selection: { provider, model, temperature } (optional).
voiceNoRaw voice selection: { provider, voiceId } (optional).
metadataNoExtra KaiCalls metadata to store (optional).
business_idYesBusiness ID to create the agent under.
first_messageNoSpoken greeting (optional). Leave it out to use the industry intake greeting, which opens on the caller's need.
system_promptNoThe agent's inbound system prompt (optional). Leave it out to start on the business's industry intake script, the same one a signup gets.
vertical_packNoSetup pack id (optional; inferred from the business when left out). One of: hvac, plumbing, electrical, general-contractor, garage-door, general-contractors, handyman, landscaping, moving, pest-control, pool-service, cleaning, roofing, personal-injury, family-law, insurance-claims, crash-report-help, criminal-defense, eviction-law, legal-family-law, immigration-law, legal-personal-injury, party-rentals, tent-rentals, event-equipment, equipment-rental, restaurant-orders, catering, auto-repair, mobile-mechanic, towing, dive-shop, fitness, wellness-recovery, chiropractic-pt, chiropractic, dental, medical-practice, med-spa, mental-health-therapy, veterinary, photography, salon-barbershop, financial-services, insurance-agency, recruiting-staffing, tax-accounting, property-management, real-estate.
voice_catalog_idNoPreferred: a curated catalog id from list_voices (optional).

Output Schema

NameRequiredDescriptionDefault
agentNo
errorNoPresent when success is false
scriptNo
successYesWhether the tool completed successfully
warningsNo
complianceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / vertical_pack / description
      Previous value: -"Setup pack id (optional; inferred from the business when left out). One of: hvac, plumbing, electrical, general-contractor, garage-door, general-contractors, handyman, landscaping, moving, pest-control, pool-service, cleaning, roofing, personal-injury, family-law, insurance-claims, criminal-defense, eviction-law, legal-family-law, immigration-law, legal-personal-injury, party-rentals, tent-rentals, event-equipment, equipment-rental, restaurant-orders, catering, auto-repair, mobile-mechanic, towing, dive-shop, fitness, wellness-recovery, chiropractic-pt, chiropractic, dental, medical-practice, med-spa, mental-health-therapy, veterinary, photography, salon-barbershop, financial-services, insurance-agency, recruiting-staffing, tax-accounting, property-management, real-estate."New value: +"Setup pack id (optional; inferred from the business when left out). One of: hvac, plumbing, electrical, general-contractor, garage-door, general-contractors, handyman, landscaping, moving, pest-control, pool-service, cleaning, roofing, personal-injury, family-law, insurance-claims, crash-report-help, criminal-defense, eviction-law, legal-family-law, immigration-law, legal-personal-injury, party-rentals, tent-rentals, event-equipment, equipment-rental, restaurant-orders, catering, auto-repair, mobile-mechanic, towing, dive-shop, fitness, wellness-recovery, chiropractic-pt, chiropractic, dental, medical-practice, med-spa, mental-health-therapy, veterinary, photography, salon-barbershop, financial-services, insurance-agency, recruiting-staffing, tax-accounting, property-management, real-estate."
  2. Changed1 schema field changed
    • changedInput schema / properties / vertical_pack / description
      Previous value: -"Setup pack id (optional; inferred from the business when left out). One of: hvac, plumbing, electrical, general-contractor, garage-door, general-contractors, handyman, landscaping, moving, pest-control, pool-service, cleaning, roofing, personal-injury, family-law, insurance-claims, criminal-defense, eviction-law, legal-family-law, immigration-law, legal-personal-injury, party-rentals, tent-rentals, event-equipment, equipment-rental, restaurant-orders, catering, auto-repair, mobile-mechanic, towing, dive-shop, fitness, wellness-recovery, chiropractic-pt, chiropractic, dental, medical-practice, med-spa, mental-health-therapy, veterinary, photography, salon-barbershop, financial-services, insurance-agency, tax-accounting, property-management, real-estate."New value: +"Setup pack id (optional; inferred from the business when left out). One of: hvac, plumbing, electrical, general-contractor, garage-door, general-contractors, handyman, landscaping, moving, pest-control, pool-service, cleaning, roofing, personal-injury, family-law, insurance-claims, criminal-defense, eviction-law, legal-family-law, immigration-law, legal-personal-injury, party-rentals, tent-rentals, event-equipment, equipment-rental, restaurant-orders, catering, auto-repair, mobile-mechanic, towing, dive-shop, fitness, wellness-recovery, chiropractic-pt, chiropractic, dental, medical-practice, med-spa, mental-health-therapy, veterinary, photography, salon-barbershop, financial-services, insurance-agency, recruiting-staffing, tax-accounting, property-management, real-estate."
  3. Changed1 schema field changed
    • changedInput schema / properties / vertical_pack / description
      Previous value: -"Setup pack id, e.g. 'personal-injury' (optional; inferred from the business when left out)."New value: +"Setup pack id (optional; inferred from the business when left out). One of: hvac, plumbing, electrical, general-contractor, garage-door, general-contractors, handyman, landscaping, moving, pest-control, pool-service, cleaning, roofing, personal-injury, family-law, insurance-claims, criminal-defense, eviction-law, legal-family-law, immigration-law, legal-personal-injury, party-rentals, tent-rentals, event-equipment, equipment-rental, restaurant-orders, catering, auto-repair, mobile-mechanic, towing, dive-shop, fitness, wellness-recovery, chiropractic-pt, chiropractic, dental, medical-practice, med-spa, mental-health-therapy, veterinary, photography, salon-barbershop, financial-services, insurance-agency, tax-accounting, property-management, real-estate."
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare the basic safety profile (not read-only, not destructive, open-world, non-idempotent); the description adds real behavioral context: the initial settings persist as version 1, subsequent changes become new versions, and provisioning automatically applies AI-disclosure/consent handling with extra review for high-risk categories. That is meaningful side-effect disclosure beyond the structured hints, though it doesn't say what failure modes or required permissions look like.

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?

Purpose and versioning are front-loaded in the first sentence, with follow-on details (versions/rollback, compliance) after. The rollback sentence is slightly tangential to a create call, but it earns its place by explaining the version lineage a creator inherits.

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 9-parameter, nested-object creation tool with an output schema, the description covers what is being created, what gets auto-generated versions, and what compliance behavior is applied by default. Remaining gaps (auth requirements, validation/error behavior) are modest given the output schema and 100% parameter 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?

Schema description coverage is 100%, so the schema already carries parameter meaning; the description only loosely clusters the key inputs (system prompt, greeting, voice, model) without adding format or default behavior beyond what each property description already states. Baseline 3 is appropriate for a fully documented schema.

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 ('Create a new KaiCalls agent') and then defines the resource in business terms ('the secretary that answers this business's calls ... live voice agent plus KaiCalls records'), plus the main configurable facets (prompt, greeting, voice, model). An agent can immediately tell this provisions a new agent rather than modifying one.

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?

Usage is implied by the creation framing and by naming the related follow-on tools (list_config_versions, rollback_config), which situates this at the start of a lifecycle. It never states when *not* to use it — e.g., that an existing agent should be changed with update_agent_config or request_agent_update — nor any prerequisites for business_id.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.