Skip to main content
Glama

bulk_update_header

Add, update, or remove a header across every request in a workspace or folder, so you can rotate an API key header everywhere at once.

Instructions

Add, update, or remove a header across all requests in a workspace or folder. Useful for things like rotating an API key header everywhere at once.

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": {
      "workspace_id": "<workspace_id>",
      "header_name": "<header_name>"
    },
    "name": "bulk_update_header"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoset
folder_idNoScope to a specific folder only
header_nameYesHeader name, e.g. 'X-API-Key'
header_valueNoNew value. Omit to remove the header.
workspace_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6-beta

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden for a bulk mutation that can strip headers from every request in a scope. It says nothing about irreversibility, permissions, whether requests already lacking the header are skipped, or what happens when action='set' is combined with an omitted header_value (the schema's 'omit to remove' guidance conflicts with the default action of 'set').

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 sentences, zero filler, with the core capability front-loaded and the example following as supporting context.

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

Completeness2/5

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

For a five-parameter, unannotated, bulk-mutating tool with no output schema, the description is thin: it never explains the effect surface (all requests in a folder including nested folders?), the return value, or the set/remove interaction with header_value. The example sentence occupies space that could have covered these gaps.

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 60%, so the schema documents most fields (folder_id, header_name, header_value) but leaves action and workspace_id bare. The description adds the scoping meaning of workspace vs. folder and the value-rotation intent, but does not resolve the action-vs-header_value-omission ambiguity, which is the parameter interaction an agent most needs clarified.

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 specific verbs (add, update, remove), the resource (a header), and a precise scope: 'across all requests in a workspace or folder.' The bulk scope implicitly distinguishes it from single-request siblings like update_request, though no sibling is named explicitly.

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?

Provides a concrete motivating scenario ('rotating an API key header everywhere at once'), which makes the intended use clear. It stops short of stating when not to use it, e.g. that single-request edits should go through update_request instead.

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