Skip to main content
Glama

write_set_custom_fields

Set custom fields by name on a Targetprocess work item, validating dropdown values first; pass null to clear a field.

Instructions

Set custom fields by name, e.g. {"BackEnd":"Done"}; dropdown values are validated first, null clears.

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

Input Schema

NameRequiredDescriptionDefault
idYes
fieldsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.2.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / fields / additionalProperties
      Removed value: -{}
    • removedInput schema / properties / fields / propertyNames
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / id / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "pattern": "^\\d+$",
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / id / type
      Added value: +"number"
  2. First observedv1.0.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does disclose two real traits: dropdown values are validated before writing, and null clears a field. It omits what happens on validation failure (hard error vs. partial write), whether unlisted fields are left untouched, and any permission requirements for this mutation.

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?

A single sentence that front-loads the operation and packs the example, validation note, and null semantics without filler. Slightly dense due to the inline JSON example, but nothing is wasted.

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?

For a nested-object mutation with no annotations, no output schema, and zero schema descriptions, the definition covers the fields payload but not the entity id, failure behavior, or return shape. It is adequate to attempt a call but leaves meaningful ambiguity for an agent operating blind on the id.

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 coverage is 0%, so the description must compensate, and it partially does by explaining that "fields" is a name-to-value map ({"BackEnd":"Done"}) and that null is a meaningful value. The "id" parameter is left entirely unexplained, and no value types or accepted names are given.

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 uses a specific verb ("Set") and resource ("custom fields") and adds the key constraint that fields are addressed by name. It is clearly a write tool, though it never says what the "id" identifies (card, record, entity), which slightly blurs the target of the operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives the input shape but no when-to-use guidance: nothing tells the agent to call read_custom_field_options first to discover valid dropdown values, nor what to do if validation fails. There are no exclusions or alternatives, so routing must be inferred from the sibling name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.