Skip to main content
Glama

Create Task

create-task-tool

Create a new task in the CRM. Use the crm-schema resource to discover available custom attributes (custom fields).

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>"
    },
    "name": "create-task-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesThe task title.
people_idsNoPeople IDs to link this task to.
company_idsNoCompany IDs to link this task to.
assignee_idsNoUser IDs to assign this task to. Use whoami tool to discover valid user IDs.
custom_fieldsNoCustom attribute (custom field) values as key-value pairs. IMPORTANT: You MUST first read the crm-schema resource to discover valid field codes for this entity type. Unknown field codes will be rejected. Use exact field codes from the schema (e.g. "job_title", not "jobTitle").
opportunity_idsNoOpportunity IDs to link this task to.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / custom_fields / description
      Previous value: -"Custom field values as key-value pairs. IMPORTANT: You MUST first read the crm-schema resource to discover valid field codes for this entity type. Unknown field codes will be rejected. Use exact field codes from the schema (e.g. \"job_title\", not \"jobTitle\")."New value: +"Custom attribute (custom field) values as key-value pairs. IMPORTANT: You MUST first read the crm-schema resource to discover valid field codes for this entity type. Unknown field codes will be rejected. Use exact field codes from the schema (e.g. \"job_title\", not \"jobTitle\")."
  2. Changed4 schema fields changed
    • addedInput schema / properties / assignee_ids / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / company_ids / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / opportunity_ids / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / people_ids / items
      Added value: +{
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive, open-world write, so the safety profile is covered. The description adds genuinely useful behavior beyond that: custom field codes are validated and unknown codes are rejected, which tells the agent to expect failures on guessed keys. It does not address duplicate titles or permission requirements, keeping it just short of a 5.

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?

Two short sentences, front-loaded with the core action and followed by the prerequisite, with zero filler. The second sentence partially duplicates the schema's custom_fields warning, a minor redundancy that keeps it from a 5.

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?

An output schema exists, so return values need no explanation, and the custom-field validation prerequisite is stated. For a six-parameter creation tool with nested custom_fields, the only meaningful omission is how the entity-linking parameters relate to attach-task-to-entities-tool.

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 explains title, people_ids, company_ids, assignee_ids, custom_fields, and opportunity_ids in detail. The description's note about custom attributes largely restates the custom_fields schema note ('You MUST first read the crm-schema resource'), adding little new meaning. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Create a new task in the CRM'), which clearly separates it from sibling tools that create other entities such as create-people-tool or create-note-tool. It stops short of naming any sibling or contrasting the create-then-link flow against alternatives, so it is clear but not maximally differentiated.

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?

It provides one concrete usage prerequisite: read the crm-schema resource before supplying custom attributes. However, it gives no guidance on when to use this tool versus attach-task-to-entities-tool for linking people/companies/opportunities, nor any exclusions or ordering advice when combined with update-task-tool.

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.