Skip to main content
Glama

Create activity

create_activity

Create an activity (task, call, meeting, email, or note). Must link to at least one lead, contact, company, or deal — use search_leads/search_contacts/search_companies/search_deals to get the entity id. The result echoes the operating workspace.

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": {
      "title": "<title>",
      "type": "<type>"
    },
    "name": "create_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesActivity type. One of: task, call, meeting, email, note.
titleYesShort title of the activity. Required.
dealIdNoDeal id to link the activity to (from search_deals). Link at least one entity.
leadIdNoLead id to link the activity to (from search_leads). Link at least one entity.
dueDateNoDue date/time, ISO 8601. Optional.
priorityNoPriority. Optional. One of: low, medium, high.
companyIdNoCompany id to link the activity to (from search_companies). Link at least one entity.
contactIdNoContact id to link the activity to (from search_contacts). Link at least one entity.
assignedToNoUser id of the workspace member to assign the activity to; null/omit for unassigned.
descriptionNoDetailed description or notes. Optional.
recurrenceRuleNoRecurrence rule: daily, weekly, or monthly. Optional (one-off if omitted).
recurrenceEndsAtNoWhen recurrence stops, ISO 8601. Optional; only meaningful with recurrenceRule.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / dueDate / anyOf
      Previous value: -[
      -  {
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "format": "date-time",
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / recurrenceEndsAt / anyOf
      Previous value: -[
      -  {
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "format": "date-time",
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed3 schema fields changed
    • addedInput schema / properties / description / description
      Added value: +"Detailed description or notes. Optional."
    • changedInput schema / properties / priority / description
      Previous value: -"Priority. One of: low, medium, high."New value: +"Priority. Optional. One of: low, medium, high."
    • addedInput schema / properties / recurrenceRule / description
      Added value: +"Recurrence rule: daily, weekly, or monthly. Optional (one-off if omitted)."
  4. Changed12 schema fields changed
    • addedInput schema / properties / assignedTo / description
      Added value: +"User id of the workspace member to assign the activity to; null/omit for unassigned."
    • addedInput schema / properties / companyId / description
      Added value: +"Company id to link the activity to (from search_companies). Link at least one entity."
    • addedInput schema / properties / contactId / description
      Added value: +"Contact id to link the activity to (from search_contacts). Link at least one entity."
    • addedInput schema / properties / dealId / description
      Added value: +"Deal id to link the activity to (from search_deals). Link at least one entity."
    • changedInput schema / properties / description / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 5000,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Detailed description or notes. Optional.",
      +    "maxLength": 5000,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / dueDate / description
      Added value: +"Due date/time, ISO 8601. Optional."
    • addedInput schema / properties / leadId / description
      Added value: +"Lead id to link the activity to (from search_leads). Link at least one entity."
    • addedInput schema / properties / priority / description
      Added value: +"Priority. One of: low, medium, high."
    • addedInput schema / properties / recurrenceEndsAt / description
      Added value: +"When recurrence stops, ISO 8601. Optional; only meaningful with recurrenceRule."
    • changedInput schema / properties / recurrenceRule / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "daily",
      -      "weekly",
      -      "monthly"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Recurrence rule: daily, weekly, or monthly. Optional (one-off if omitted).",
      +    "enum": [
      +      "daily",
      +      "weekly",
      +      "monthly"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / title / description
      Added value: +"Short title of the activity. Required."
    • addedInput schema / properties / type / description
      Added value: +"Activity type. One of: task, call, meeting, email, note."
  5. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag this as non-read-only and non-destructive; the description adds a non-obvious business constraint (must link at least one entity) and notes that the result echoes the operating workspace. This goes beyond the structured flags and contains no 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?

Two sentences, front-loaded with the primary action, and every clause adds information: activity types, the linking requirement, and the source for entity IDs. No filler or repetition of the title.

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?

With 12 parameters and no output schema, the description covers the central workflow and linking requirement but leaves the return value ambiguous ('echoes the operating workspace') and doesn't describe the creation result. It's adequate for invoking the tool but not fully complete.

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 every parameter is already documented. The description reinforces the 'link at least one entity' rule and points to search tools, but these details are largely already present in the schema's per-parameter descriptions, providing only marginal extra meaning.

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 opens with a specific verb and resource, enumerates the five allowed activity types, and names the entity types that must be linked. This clearly distinguishes create_activity from sibling read/update/complete activity tools and from other create_* tools.

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?

It states the core use case and gives a concrete prerequisite: at least one linked entity, with search_leads/search_contacts/search_companies/search_deals explicitly named for obtaining IDs. It doesn't explicitly contrast with complete_activity/get_activity/list_activities, but the context is clear enough.

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.

Resources