Skip to main content
Glama

Apply an odile.yaml

gate_sync_declarative
Idempotent

Apply an odile.yaml or JSON config to create missing resources and reconcile supported settings. dry_run previews steps; new keys are shown once. Never revokes or deletes; existing route or rate differences are drift, not applied. Use gate_validate_config to check a file or gate_check_setup to inspect project protection.

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": {
      "config": "<config>"
    },
    "name": "gate_sync_declarative"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYesThe whole odile.yaml (or the same as JSON) as text
dry_runNoList the steps without changing anything
admin_keyNoIts admin key (ga_...), required with project_id. Read it from the .env; never print it.
project_idNoOptional: an existing project to sync

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnly=false, idempotent=true, destructive=false) by disclosing that it never revokes or deletes, that drift is detected but not applied, that dry_run only lists steps, and that new keys are shown once. What it omits is failure behavior — partial-apply semantics or what happens if reconcile fails midway — which matters for a mutating 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?

Three tight sentences, purpose front-loaded, then the dry_run/drift semantics, then sibling routing. Every clause carries information; none is 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 4-parameter mutating tool with no output schema, the definition covers what gets created, what is skipped, and how to preview, and the annotations carry the safety profile. The remaining gap is error/partial-failure behavior and what the tool returns on success.

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 coverage is 100%, so all four parameters are already documented, including dry_run and the admin_key secrecy note. The description's hints about dry_run and the 'whole config as text' requirement largely restate the schema, adding only marginal meaning.

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 and resource ('Apply an odile.yaml or JSON config') plus the scope of effect ('create missing resources and reconcile supported settings'), which separates it from siblings like gate_validate_config and gate_check_setup.

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?

Explicitly routes the agent: use gate_validate_config to check a file, gate_check_setup to inspect project protection, and note dry_run for a preview. It also names the boundary condition (route or rate differences are drift, not applied) so the agent knows what this tool will not do.

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