Skip to main content
Glama

Configure one app setting

gate_configure_app

Set models, mandatory runs, response fields, or add one confirmed literal route to an existing app. Choose exactly one operation; models:null removes the model limit, response allow:null disables filtering, and runs:off removes the run requirement. Use gate_check_setup to inspect settings; apply learned routes and rate limits on the oversight endpoint, /mcp/oversight.

Input Schema

NameRequiredDescriptionDefault
appNoThe active app id from gate_list_apps.
modeNoRun requirement: off, writes, or all.
ruleNoOne exact rule, e.g. GET /health; no *, :param, {user} or query.
allowNoAllowed JSON Pointer paths (1–32), or null to disable response filtering.
modelsNoExact names or prefixes ending in *; null for no limit
confirmNoExplicit owner-authorized confirmation to add this exact route.
admin_keyNoThe project admin key (ga_...). Read it from the .env; never print it.
operationYesPerform exactly one operation: models, runs, response, add_route.
project_idNoThe project id from gate_create_project, e.g. p1a2b3...

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is known. The description highlights that null/off values are reset states (models:null, allow:null, runs:off) and that add_route demands explicit confirmation, but these mirror the schema's own property descriptions rather than adding new behavior. It says nothing about whether a models or allow update replaces versus merges existing config, which is the main ambiguity for a non-idempotent mutation.

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 lead sentence front-loads the four operations and the second sentence carries the operation-selection rule and reset semantics. The final clause about the oversight endpoint is a bit compressed and unlabeled, but every sentence still carries actionable content with no filler.

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 nine-parameter tool with a oneOf schema, the description covers operation selection, reset semantics, the confirmation requirement, and where to look before writing. With full schema coverage and no output schema needed, the only shortfall is the unstated replace-vs-merge effect of each operation.

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 every parameter, including app pattern, rule format, allow pointer paths, mode enum and confirm, is documented in the schema. The description only restates the null semantics already present in the schema, adding no syntax or constraint detail beyond it, 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?

The description names a specific verb (Set) and resource (an existing app's settings) and enumerates the four configurable surfaces: models, mandatory runs, response fields, and one literal route. It also explicitly separates itself from the read-side sibling, tell the agent to use gate_check_setup to inspect, so the write/read boundary is clear.

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

Usage Guidelines4/5

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

"Choose exactly one operation" tells the agent this is a single-op call, and the gate_check_setup reference gives a concrete precondition for inspecting current values first. It also redirects two adjacent concerns (learned routes and rate limits) to the oversight endpoint, /mcp/oversight, which is real routing guidance, though it is not stated as a hard exclusion.

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