Skip to main content
Glama

Update Task

update-task-tool
DestructiveIdempotent

Update an existing 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": {
      "id": "<id>"
    },
    "name": "update-task-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe task ID to update.
titleNoThe task title.
people_idsNoPeople IDs to link. Omit to leave unchanged, pass [] to remove all.
company_idsNoCompany IDs to link. Omit to leave unchanged, pass [] to remove all.
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. Omit to leave unchanged, pass [] to remove all.

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.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description adds a prerequisite pointer to the crm-schema resource for custom field codes, but it does not itself explain that unknown field codes are rejected or that omitting an ID list leaves links unchanged — both points live only in the schema.

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 a single actionable prerequisite. Nothing is padded, though the second sentence is a near-duplicate of the custom_fields schema text and so earns only partial credit.

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?

With a full output schema and complete parameter descriptions, the description needn't explain return values, and it correctly flags the one external dependency (the crm-schema resource). The remaining gap is guidance on how this overlaps with the attach/detach entity tools, which matters for a mutation tool with relation-list parameters.

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 a baseline of 3 applies; the schema already documents the omit-vs-empty-array semantics, the whoami hint for assignee_ids, and the field-code requirement for custom_fields. The description's note about the crm-schema resource largely restates what the custom_fields parameter description already says.

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 states a specific verb and resource ("Update an existing task in the CRM"), which distinguishes it from the create/delete/get siblings and from update-company/update-people tools. It does not address overlap with attach-task-to-entities-tool or detach-task-from-entities-tool, even though its schema exposes people_ids, company_ids, and opportunity_ids.

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?

There is one concrete usage instruction: read the crm-schema resource before supplying custom fields. Beyond that, there is no guidance on when to prefer this tool over the attach/detach tools or over direct field updates on related records, and no stated prerequisites or exclusions.

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.