Skip to main content
Glama

context_fields_bulk_toggle

Sets use on every listed field (sqids) at once. Fields with use=true are passed to the AI that writes messages; keep it off for internal fields such as scores, to keep prompts short.

Method: POST /api/v1/workspaces/{workspace_sqid}/context-fields/bulk-toggle/

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": {
      "sqids": "<sqids>",
      "use": "<use>"
    },
    "name": "context_fields_bulk_toggle"
  }
}

Input Schema

NameRequiredDescriptionDefault
useYesNew value for 'Include in AI context'.
sqidsYesContext field sqids to update.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the mutation's downstream effect (field visibility in AI prompts) and the endpoint, but says nothing about atomicity across the batch, error behavior for invalid sqids, or permissions required.

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?

Two tight sentences front-load the action and then the rationale, with the endpoint appended separately. No filler, though the HTTP method line adds little for an agent that already knows the tool's purpose.

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 two-parameter, non-destructive-looking toggle with a fully described schema and no output schema, the description covers what changes and why it matters. Missing only edge-case behavior (partial failures, unknown sqids), which is minor at this complexity.

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 adds real meaning beyond the schema's 'Include in AI context' label by explaining the consequence of use=true for the message-writing AI. It also clarifies that sqids targets a batch, matching the array parameter.

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?

States a specific verb and resource: 'Sets `use` on every listed field (`sqids`) at once,' which pins down both the field being modified and the bulk scope. It implicitly separates itself from siblings like bulk_set_type or rename by naming the exact attribute changed, though no sibling is called out by name.

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?

Gives concrete value-selection guidance: use=true fields go to the message-writing AI, and it should stay off for internal fields such as scores to keep prompts short. It does not address when to prefer this over a single-field update or what prerequisites exist, so no explicit alternative routing.

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.