Skip to main content
Glama

Compl-AI-ance

whitelist_set_tool

Erlaubte Nutzung, Eingaberegeln und ausdrücklich Unerlaubtes für ein freigegebenes KI-System festlegen. Für Systeme ohne Board-Freigabe verweigert.

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": {
      "system_id": "<system_id>",
      "permitted_use": "<permitted_use>",
      "input_rules": "<input_rules>"
    },
    "name": "whitelist_set_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
system_idYes
input_rulesYesWas eingegeben werden darf und was nicht
not_allowedNo
permitted_useYesWofür das Tool genutzt werden darf

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose a concrete failure mode (rejection for unapproved systems), which is genuine value. It says nothing about whether an existing whitelist entry is overwritten or merged, whether the call is destructive or reversible, or what authorization the caller needs.

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 sentences with no filler, and the core action is front-loaded ahead of the refusal condition. The first sentence is a densely packed noun list, which slightly slows comprehension but wastes no words.

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

Completeness3/5

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

For a mutation tool with no annotations, no output schema and half the parameters undocumented, the definition covers the essentials (what is configured, and the approval gate) but omits overwrite semantics and the role of system_id. An agent could invoke it, yet might misuse it against an existing configuration.

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?

With schema coverage at 50%, the description partially compensates by naming the three configuration fields (permitted use, input rules, forbidden content), which map onto permitted_use, input_rules and not_allowed. It adds no meaning beyond the field names, and system_id – the key identifying parameter – receives no explanation in either the schema or the description.

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 names a specific verb ('festlegen' = set/define) and an enumerable resource: permitted use, input rules and explicitly forbidden content for an approved AI system. This is far more than a restatement of the name. It does not, however, contrast itself with any sibling such as set_agent_tool_permission, so an agent must infer the boundary from the resource description alone.

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 second sentence supplies a real precondition: systems without board approval are refused. That is useful context for deciding whether to call the tool. There is still no guidance on when this tool is the right choice versus permission-related siblings, and no mention of what to do instead when the refusal triggers.

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