Skip to main content
Glama

Add Code Allowlist Entry

add_code_allowlist_entry

Eine einzelne E-Mail-Adresse oder ein Adressmuster zur Allowlist eines Codes hinzufuegen. Ergaenzt bestehende Eintraege (loescht nichts). Nutze es fuer einzelne Nachzuegler; fuer viele Adressen ist der Excel-Upload upload_code_allowlist der richtige Weg. Entfernen: delete_code_allowlist_entry. | EN: allowlist, permission, whitelist, code

Input Schema

NameRequiredDescriptionDefault
code_idYesCode-ID
patternYesz.B. 'hans@firma-x.de', 'firma-x.de' oder '*@*.subauftrag-x.de'
pattern_typeYes'email' (exakte Adresse), 'domain' (alles nach @) oder 'glob' (Wildcard * und ?, sicher in Regex uebersetzt, kein rohes Regex)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=false, readOnlyHint=false and idempotentHint=false; the description adds that the operation only appends and 'loescht nichts', reinforcing the non-destructive profile. It does not, however, say what happens when the same address already exists, which matters given the explicit non-idempotent hint.

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?

The core purpose and the alternative routing are front-loaded in the first three sentences, with no redundant restatement. The trailing '| EN: allowlist, permission, whitelist, code' keyword line is search padding rather than agent-relevant information and slightly dilutes an otherwise tight description.

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?

With an output schema absent, three fully documented parameters, and annotations covering the safety profile, the description supplies enough to call the tool correctly. The only meaningful gap is duplicate/conflict behavior for an appended entry, which an agent would want before retrying.

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 100% and the schema already supplies concrete examples ('hans@firma-x.de', glob wildcards) and pattern_type semantics. The description only restates at a high level that an address or pattern is added, adding no syntax or format detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (hinzufuegen) and resource (einzelne E-Mail-Adresse/Adressmuster zur Allowlist eines Codes) and scopes it to a single entry. It explicitly distinguishes the tool from upload_code_allowlist (bulk) and delete_code_allowlist_entry (removal), so an agent can select it without opening schemas.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('fuer einzelne Nachzuegler'), names the alternative and its condition ('fuer viele Adressen ... upload_code_allowlist'), and routes removal to delete_code_allowlist_entry. Both exclusions and alternatives are stated, leaving nothing to inference.

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.