Skip to main content
Glama

Set task field value

set_task_field_value
DestructiveIdempotent

Set a custom field's value on a task. Read field ids and types from the project first: a Select field takes the OPTION ID (not the visible label), a number field takes a number, a string field takes text, a DateTime field takes YYYY-MM-DD or an ISO 8601 date-time. For a string field, send digits (ZIP code, parcel or account ID) as a quoted string, for example "01234": a number loses leading zeros and long IDs.

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": {
      "projectId": "<projectId>",
      "taskId": "<taskId>",
      "fieldId": "<fieldId>",
      "value": "<value>"
    },
    "name": "set_task_field_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesOption id (Select), number, text, or date (DateTime: YYYY-MM-DD or ISO 8601 date-time). Text that is all digits goes in a quoted string.
taskIdYesTask ID from `list_tasks`
fieldIdYesCustom field ID
projectIdYesProject ID from `list_projects`

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered structurally. The description adds the useful dependency on reading field metadata first, but it never explains the destructive dimension (that an existing value is overwritten) or what happens on a type mismatch, which would be the real value-add here.

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, both front-loaded with the actionable rule (read ids/types first, then the type-to-value mapping). The ZIP example is the only elaboration and it earns its place by illustrating the non-obvious quoting rule.

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 4-required-parameter tool with full schema coverage and no output schema, the description covers the genuinely tricky part: value typing per field type. What remains unstated is overwrite semantics and error behavior, a modest gap given annotations already flag the operation as destructive and idempotent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description goes beyond the schema by explaining why digits must be quoted (leading zeros and long IDs are lost as numbers) and by tying each value shape to a field type read from the project. It adds rationale rather than merely restating the parameter descriptions.

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 ("Set a custom field's value on a task"), which cleanly separates it from sibling setters like set_task_date and set_task_note that target built-in fields. An agent can tell what it does and which sibling it is not without opening the schema.

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?

Provides a clear prerequisite: read field ids and types from the project first, so the agent knows it needs discovery calls before invoking this. It stops short of explicitly naming alternatives such as delete_task_field_value for clearing a value, so it is not a full when-to/when-not guide.

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.