Skip to main content
Glama

ohmyho.st

Queue one immediate run of a database schedule

database_schedule_run_now
DestructiveIdempotent

Queue one immediate run of a database schedule. Refused while the schedule is disabled or a run is already queued. Destructive: the statements execute against the database; requires confirmed: true. If the answer is lost, call again with the same idempotency_key to get the stored answer; the idempotency_key is required, and a call with a new key queues another run. Refused with project_budget_exceeded while the project's Stop budget is reached.

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": {
      "idempotency_key": "<idempotency_key>",
      "project_id": "<project_id>",
      "name": "<name>",
      "environment": "<environment>",
      "confirmed": "<confirmed>"
    },
    "name": "database_schedule_run_now"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDatabase schedule name, unique per project environment.
confirmedYes
project_idYesProject identifier.
environmentYesApplication environment the mutation applies to.
idempotency_keyYesIdentifies one mutation and its canonical request payload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that the statements actually execute against the database, the two refusal states (disabled, already queued), the project_budget_exceeded refusal tied to the Stop budget, and the replay contract for a reused idempotency_key. The annotations only flag destructive/idempotent; the description supplies the operational consequences.

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?

Four sentences, each carrying distinct load: action, preconditions, destructive/idempotency contract, budget refusal. The action is front-loaded and there is 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 destructive, no-output-schema mutation this covers the safety, idempotency, and failure surface thoroughly. The only remaining gap is what the 'stored answer' actually contains, which an agent must discover by calling.

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 80%, so most parameters are already documented, but the description adds the crucial semantic that idempotency_key is mandatory and that reusing it returns the stored answer while a new key queues a second run. It also reinforces the confirmed: true gate. It does not touch project_id, name, or environment, which the schema already covers.

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 ('Queue one immediate run of a database schedule') with an explicit scope of exactly one run. The 'run now' framing cleanly separates it from the list/get/set siblings without needing to name them.

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?

Gives clear preconditions for calling: refused while the schedule is disabled or a run is already queued, and requires confirmed: true. It also prescribes retry behavior on a lost answer. It stops short of naming an alternative action (e.g. enabling the schedule via database_schedule_set first), so it is clear context rather than full when/when-not routing.

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.