Skip to main content
Glama

Sunaiva Gate — Agent Rule Enforcement

apply_preset

Apply a preset bundle, activating all its included rules. Requires API key (Pro+).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
preset_idYesID of the preset to apply

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does disclose the authentication requirement and the fact that applying a preset activates rules, but it does not disclose whether applying a preset overwrites existing rules, whether the action is reversible, or any side effects on the current configuration. This is a significant gap for a mutation tool.

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?

The description is extremely concise: two sentences that immediately state the purpose and a key requirement. There is no filler or repetition. Every word earns its place, making this an exemplar of concise writing.

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?

Given that the tool has only one parameter, no output schema, and no annotations, the description is mostly complete for its simplicity. It covers the core action and a prerequisite. However, it lacks context about the impact on existing rules (e.g., whether it replaces all rules or merges), which is important for safe usage. This incomplete side-effect disclosure prevents a higher score.

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% (preset_id is described as 'ID of the preset to apply'). The description itself adds no additional parameter semantics beyond what the schema already provides. Since the schema covers the parameter, the baseline of 3 is appropriate.

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?

The description clearly states the tool's function: 'Apply a preset bundle, activating all its included rules.' It uses a specific verb ('apply'), a specific resource ('preset bundle'), and explains the effect ('activating all its included rules'). This distinguishes it from sibling tools like list_presets (which only lists) and add_custom_rule (which adds a single rule).

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 provides a prerequisite ('Requires API key (Pro+)') but does not explicitly state when to use this tool versus alternatives like set_rule_mode or update_rules. The context implies usage when you want to apply a preset bundle, but no exclusions or alternative tool references are provided. This is adequate but not exemplary.

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.

TDQS

A3.5/5.0
Disambiguation4/5

Most tools have clearly distinct purposes (e.g., CRUD for custom rules, mode management, presets, validation). However, get_rules, list_custom_rules, and get_rule_modes could be confused since all return rule-related info, though descriptions differentiate their focus.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (e.g., add_custom_rule, get_audit_log, delete_custom_rule). Even multi-word names like ship_confidence_check maintain the pattern, with no mixing of conventions.

Tool Count4/5

16 tools is slightly above the typical 3–15 range but appropriate for the rule enforcement domain, covering custom rules, presets, modes, audit, and validation. However, three planned-but-unimplemented tools add clutter and could be confusing.

Completeness3/5

Core operations are present: full CRUD for custom rules, preset application, mode overrides, validation, and audit log. However, three tools are non-functional (NOT_IMPLEMENTED), and there is no way to remove a bypass or manage constitutional rules, leaving some noticeable gaps.

Resources