Skip to main content
Glama

Set access control

set_access_control
DestructiveIdempotent

Turns the router's device access-control (block list) feature on or off, with a preview mode before applying changes.

Instructions

Turn the device access-control (block list) feature on/off. Arg: enable (boolean). Call with confirm=false first to preview; it only changes the router with confirm=true.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_access_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNo
confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false; the description adds meaningful context beyond them, namely that nothing changes on the router unless confirm=true and that a dry-run preview is available. The remaining gap is what state results from enable=false (assumed disable) and whether the change is reversible.

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, no filler, and the core purpose plus the preview-then-confirm flow are front-loaded.

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 two-parameter tool with no output schema, the description supplies the preview workflow and the safety-relevant confirm semantics the annotations alone would not convey. Additional detail on resulting state and error behavior would round it out.

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?

With 0% schema coverage and a generic `args` object, the description does real work by revealing that args carries a boolean `enable` and by explaining the confirm preview/apply contract. It still omits defaults and whether `enable` is required.

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: turning the device access-control block list feature on/off. It is distinguishable from the read-only sibling access_control_status, though it does not name that sibling or any alternative explicitly.

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?

Gives a concrete two-step workflow: call with confirm=false to preview, then confirm=true to actually apply. It does not state when to prefer this over set_device_access or access_control_status, so guidance covers invocation but not tool selection.

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