Skip to main content
Glama

Update tool security settings

update_tool_security

Turn signed action receipts off, on for tools that require approval, or on for every tool call. Receipts hold hashes of arguments and results, never the content. Refused when this region cannot sign. require_clean_tool_scan additionally makes a tool whose latest automated security scan has CRITICAL findings refuse to attach or activate until the finding is fixed.

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": {
      "receipts_mode": "<receipts_mode>"
    },
    "name": "update_tool_security"
  }
}

Input Schema

NameRequiredDescriptionDefault
receipts_modeYesWhich tool calls get a signed receipt.
require_clean_tool_scanNoRefuse attaching/activating a tool whose latest security scan has critical findings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / require_clean_tool_scan
      Added value: +{
      +  "description": "Refuse attaching/activating a tool whose latest security scan has critical findings.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), and the description adds real context beyond them: receipts store hashes of arguments and results, never content, and the call is rejected when the region cannot sign. The additional effect of require_clean_tool_scan — blocking attach or activate until a CRITICAL finding is fixed — is non-obvious side-effect behavior that an agent would otherwise miss. It does not say whether existing attached tools are re-evaluated or how the refusal surfaces.

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?

Three sentences, front-loaded with the primary action and the three modes, followed by the privacy note and the gating behavior. Every sentence carries information, though the require_clean_tool_scan sentence largely restates its own schema description and could be tightened.

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, 100%-covered schema with no output schema and no nested objects, the description supplies what structured fields cannot: enum semantics, the privacy property of receipts, and the failure and gating conditions. Only the post-call state (what changes immediately, whether existing tools are affected) is left unstated.

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 the baseline is 3, and the description earns above that by mapping each enum value to its meaning (off, on for approval-only tools, on for every call) rather than just listing the strings. For require_clean_tool_scan it adds that the gate persists until the finding is fixed and that the scan is automated, slightly extending the schema text. Minor repetition of the schema's own wording keeps it from a 5.

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?

The description states a concrete action on a concrete resource: it configures signed action receipts for tool calls and, via the flag, scan-gating of tool attachment. Each of the three enum states is spelled out, so an agent can tell this is the write counterpart to get_tool_security. It stops short of naming the read tool or another sibling explicitly, so differentiation is implied by the resource rather than stated.

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

Usage Guidelines3/5

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

The description explains what each mode means, which implicitly guides mode selection (approval_tools to limit to approval-requiring tools, all_tools for blanket coverage). It also gives one precondition: the call is refused when the region cannot sign. There is no explicit statement of when to call this versus get_tool_security or how to confirm the resulting state, so usage guidance remains implied rather than directed.

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