Skip to main content
Glama

Create a contact

create_contact

Save a manually managed contact for calls, texts or email.

The contact appears in workspace contact searches and can be selected for call handover if it has a phone number, or an extension on a call to a connected number. A duplicate phone or email returns 409.

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>"
    },
    "name": "create_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe contact's name.
emailNoThe address to email this contact at, such as ``ana@example.com``. Give this, ``phone_e164``, ``extension``, or several.
extensionNoExtension on the workspace's connected phone system (1 to 6 digits, * or #), such as ``800`` for a support queue. Used for handover on calls to a connected number.
llm_modelNoThe calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics.
phone_e164NoNumber used to call or text the contact. A contact can be reachable by phone, email, or both.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / email / description
      Previous value: -"The address to email this contact at, such as ``ana@example.com``. Give this, ``phone_e164``, or both."New value: +"The address to email this contact at, such as ``ana@example.com``. Give this, ``phone_e164``, ``extension``, or several."
    • addedInput schema / properties / extension
      Added value: +{
      +  "anyOf": [
      +    {
      +      "pattern": "^[0-9*#]{1,6}$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Extension on the workspace's connected phone system (1 to 6 digits, * or #), such as ``800`` for a support queue. Used for handover on calls to a connected number.",
      +  "title": "Extension"
      +}
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "description": "A manually saved workspace contact.",
      -    "properties": {
      -      "email": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Email address. Null if none on file.",
      -        "title": "Email"
      -      },
      -      "id": {
      -        "description": "The contact's ID.",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "manual",
      -        "type": "string"
      -      },
      -      "name": {
      -        "description": "Display name.",
      -        "title": "Name",
      -        "type": "string"
      -      },
      -      "phone_e164": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Phone number, E.164 format. Null if none on file.",
      -        "title": "Phone E164"
      -      },
      -      "role": {
      -        "description": "Manual contacts have no workspace role.",
      -        "type": "null"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "kind",
      -      "name",
      -      "phone_e164",
      -      "email",
      -      "role"
      -    ],
      -    "title": "ContactEntry",
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "error": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "A manually saved workspace contact.",
      +    "properties": {
      +      "email": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Email address. Null if none on file.",
      +        "title": "Email"
      +      },
      +      "extension": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Extension on your connected phone system. Null if none on file.",
      +        "title": "Extension"
      +      },
      +      "id": {
      +        "description": "The contact's ID.",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "manual",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Display name.",
      +        "title": "Name",
      +        "type": "string"
      +      },
      +      "phone_e164": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Phone number, E.164 format. Null if none on file.",
      +        "title": "Phone E164"
      +      },
      +      "role": {
      +        "description": "Manual contacts have no workspace role.",
      +        "type": "null"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "kind",
      +      "name",
      +      "phone_e164",
      +      "email",
      +      "extension",
      +      "role"
      +    ],
      +    "title": "ContactEntry",
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / llm_model / description
      Previous value: -"Model ID of the calling agent. Optional. Recorded for analytics only."New value: +"The calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics."
  3. Changed4 schema fields changed
    • changedInput schema / properties / phone_e164 / description
      Previous value: -"The number to call or text this contact on, such as ``+14155551234``. Give this, ``email``, or both."New value: +"Number used to call or text the contact. A contact can be reachable by phone, email, or both."
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "description": "A manually saved workspace contact.",
      +    "properties": {
      +      "email": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Email address. Null if none on file.",
      +        "title": "Email"
      +      },
      +      "id": {
      +        "description": "The contact's ID.",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "manual",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Display name.",
      +        "title": "Name",
      +        "type": "string"
      +      },
      +      "phone_e164": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Phone number, E.164 format. Null if none on file.",
      +        "title": "Phone E164"
      +      },
      +      "role": {
      +        "description": "Manual contacts have no workspace role.",
      +        "type": "null"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "kind",
      +      "name",
      +      "phone_e164",
      +      "email",
      +      "role"
      +    ],
      +    "title": "ContactEntry",
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / title
      Removed value: -"create_contact_toolDictOutput"
  4. Changed1 schema field changed
    • changedInput schema / properties / phone_e164 / anyOf
      Previous value: -[
      -  {
      -    "pattern": "^\\+[1-9]\\d{1,14}$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "pattern": "^\\+[1-9][0-9]{1,14}$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  5. Changed1 schema field changed
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "Model ID of the calling agent. Optional. Recorded for analytics only.",
      +  "type": "string"
      +}
  6. Changed2 schema fields changed
    • changedInput schema / properties / email / description
      Previous value: -"Email address."New value: +"The address to email this contact at, such as ``ana@example.com``. Give this, ``phone_e164``, or both."
    • changedInput schema / properties / phone_e164 / description
      Previous value: -"The contact's phone number with country code, such as ``+14155551234``. Give this, ``email``, or both."New value: +"The number to call or text this contact on, such as ``+14155551234``. Give this, ``email``, or both."
  7. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that the contact appears in workspace contact searches, can be selected for call handover when a phone number or connected-number extension exists, and that duplicate phone or email values return 409. The annotations already cover the safety profile (non-read-only, non-idempotent, non-destructive, closed-world), and the description adds useful operational context.

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 compact, front-loaded with the core action, and every sentence contributes operationally relevant information about search visibility, handover eligibility, or duplicate conflicts.

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?

Given the annotations, rich schema, and existing output schema, the description is nearly complete for an agent to call the tool correctly. A minor gap is that it does not clarify what happens or whether the contact is meaningful if only a name is supplied with no phone, email, or extension.

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 fully documents the five parameters. The description mentions phone number, extension, and email in relation to handover and reachability, but it does not add syntax, format, or constraints beyond what the schema provides.

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 uses a specific verb and resource: 'Save a manually managed contact' for calls, texts, or email. It clearly distinguishes the written contact from read-oriented siblings such as lookup_contact and list_contacts without ambiguity.

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 creation is appropriate when a manually managed contact is needed and explains how the contact can later be used. However, it does not explicitly say when to choose this tool over alternatives such as create_agent, nor does it state any exclusions or prerequisites.

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.