Skip to main content
Glama

Odile Gate

Require runs for an app

gate_set_app_runs
Idempotent

Make an app need a run: "writes" (every write needs x-odile-run), "all" (every call), or "off".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appYesThe app id (app_...)
modeYes
admin_keyYesThe project admin key (ga_...). Read it from the .env; never print it.
project_idYesThe project id from gate_create_project, e.g. p1a2b3...

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already disclose the safety profile (not read-only, idempotent, not destructive, open world). The description adds valuable semantics for each mode, but does not cover side effects, permission requirements, or interaction with existing runs.

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?

A single sentence with zero waste, front-loading the core action and then defining each mode. No unnecessary preamble or repetition.

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 mutation tool with no output schema and annotations covering safety, the description provides the critical mode semantics. It could mention permission needs or effects on existing runs, but the essentials are present.

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?

Schema coverage is 75%, and the description meaningfully explains the mode parameter ("writes", "all", "off") beyond the raw enum values. The other three parameters are already documented in the schema, so the description compensates well for the one gap.

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 ("make an app need a run") and resource ("an app") with the available modes enumerated. It does not explicitly distinguish this tool from siblings like gate_add_app or gate_create_run, but the purpose 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 Guidelines3/5

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

The description implies usage via "Make an app need a run" but gives no explicit when-to-use guidance, prerequisites, or alternatives to consider. The implied context is clear enough for an agent to infer it configures run requirements.

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