Skip to main content
Glama

workspaces_context_fields_partial_update

Changes the description, type, order or the 'include in AI context' flag. To change the key, use context_fields_rename: it also moves every lead's value, which a plain update does not.

Method: PATCH /api/v1/workspaces/{workspace_sqid}/context-fields/{sqid}/

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": {
      "sqid": "<sqid>"
    },
    "name": "workspaces_context_fields_partial_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNo
useNoUse for message generation.
keysNoComma-separated list of alternative keys for this field
sqidYes
orderNo
field_typeNo* `string` - String * `text` - Text * `number` - Number * `boolean` - Boolean * `date` - Date * `url` - URL * `phone_number` - Phone Number * `email` - Email * `choice` - Choice
descriptionNoExplain to AI what this field is about

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden, and it does disclose a genuinely non-obvious side effect: a plain update changes the key without moving lead values, whereas rename does. It does not cover permission requirements, whether omitted fields are left untouched, or what a partial update returns.

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 tight sentences front-load the mutation scope, then the critical caveat and sibling pointer; the trailing PATCH method line is short and adds endpoint context for API-native callers. No filler or repetition.

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 7-parameter mutation tool with no annotations and no output schema, the description covers the headline fields and the most dangerous edge case but leaves `keys`, the meaning of partial-update semantics for unset fields, and the response shape unaddressed. Adequate, but an agent would still have to infer behavior from the schema.

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 57%, and the description maps loosely onto four of the seven parameters (description, field_type, order, use). It adds real insight about the `key` parameter's consequence, but says nothing about `keys` (the comma-separated alternative keys) or `sqid`, so the coverage gap is only partly closed.

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?

"Changes the description, type, order or the 'include in AI context' flag" names a specific verb and enumerates the concrete attributes being modified on a well-identified resource. It then explicitly separates itself from the `context_fields_rename` sibling, so an agent can route between the two without opening either 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?

It gives an explicit routing rule: for key changes, use `context_fields_rename`, because that tool also migrates every lead's value. That effectively states a when-not for this tool plus a named alternative with its condition. It stops short of describing any other usage context (e.g. bulk edits, prerequisites).

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.