Skip to main content
Glama

Proxy Mail QA

Turn a custom field on or off

set_custom_field_enabled
DestructiveIdempotent

Turns one of the project's custom fields on or off, by its id from list_custom_fields, as its switch in Project settings → Custom fields does. When it's off, form_values and Proxy Mail QA for Chrome 0.9.0 and later ignore it, as if it weren't there: the field gets the next custom field that's on, then a standard value, then a guess if the project's guesses setting allows one. To keep a field empty, save a custom field whose value is leave instead. One that's off is still in list_custom_fields (enabled: false) and still counts toward the project's 50. Only when the person asks. Anyone on the project may, unless only its leads change custom fields (locked: true in list_custom_fields); then the change of someone who doesn't lead it (you_lead: false) goes to the leads as a request (status: requested): before calling there, tell the person it goes to the leads, and call only once they say yes.

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>",
      "on": "<on>"
    },
    "name": "set_custom_field_enabled"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe custom field to turn on or off.
onYestrue to use it; false to ignore it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the downstream effect of off (form_values and Chrome-extension versions ignore the field), the fallback resolution chain, that the field still appears in list_custom_fields as enabled:false and still counts toward the 50 limit, plus the permission model and the request-to-leads path. That is exactly the behavioral context destructiveHint/idempotentHint cannot convey.

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?

Front-loads the core action and each clause carries information, but the single dense paragraph packs in parentheticals and UI path references that make it slow to scan. Some phrasing ("save a custom field whose value is leave instead") is awkward, though nothing is truly redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description still covers side effects, the 50-field limit interaction, discoverability via list_custom_fields, permission requirements, and the consent flow before a request is filed. For a two-parameter mutation this leaves no material question unanswered.

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 is 3, but the description adds real meaning: id must come from list_custom_fields, and on=false has consequence-rich semantics (ignored as if absent, fallback to next enabled field, then standard value, then guess). Only minor gap is that the id format/lookup mechanics are left to the 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+resource ("Turns one of the project's custom fields on or off") and anchors the id to its source tool, list_custom_fields. An agent can distinguish it from list_custom_fields, delete_custom_field, and save_custom_field 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?

Explicit gating with "Only when the person asks," an explicit alternative for the adjacent goal ("To keep a field empty, save a custom field whose value is leave instead"), and a permission branch telling the agent to pre-warn the person and call only after consent when locked:true / you_lead:false. When-to-use, when-not, and the substitute tool are all 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.

Resources