Skip to main content
Glama

workspaces_context_fields_destroy

Removes only the definition. Values already stored on leads stay and show as unregistered fields. To remove the values too, use context_fields_purge. Check context_fields_references first: filters, automations and templates that use the key stop working.

Method: DELETE /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_destroy"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does well: it discloses that stored values survive as 'unregistered fields' and that filters, automations and templates using the key stop working. It stops short of stating irreversibility, required permissions, or whether confirmation is needed for this destructive operation.

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?

Three short sentences ordered by importance: scope of deletion, the alternative tool, then the caution about dependents. The method line is a compact addendum with no wasted wording.

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 destructive, single-parameter tool with no annotations and no output schema, the blast-radius and dependency warnings are the critical content and are present. The remaining gap is the undocumented identifier parameter and any note on whether the removal can be undone.

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

Parameters2/5

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

Schema coverage is 0% and the single `sqid` parameter is never explained in prose. The method line implies a workspace-scoped path with two identifiers but does not clarify what `sqid` refers to or how to obtain it, so the agent gains little beyond the bare schema.

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 ('Removes only the definition') and immediately scopes it against the destructive alternative (`context_fields_purge`). An agent can distinguish this from siblings without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes to `context_fields_purge` when values must also be removed, and instructs the agent to check `context_fields_references` first. Both the alternative and the pre-flight condition are named.

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.