Skip to main content
Glama

takt_auf_runner

DestructiveIdempotent

Move a scheduled server agent (trigger_mode server_job, runs via OpenAI) to the tenant's dev-agent runner (Claude subscription). Creates/updates a cron schedule row for the runner (dev_agent_session_schedules, session key takt-<agent_id>, engine claude, cron derived from run_every_minutes within run_from/run_to/run_days, timezone of the agent or Europe/Zurich, a FRESH session per occurrence, prompt = work as this agent per its bootstrap/skills). Before each occurrence the server checks the agent's working window and run_condition; with nothing new the occurrence is skipped and the runner is not woken (runs_skipped counts as for server jobs). Then sets trigger_mode to mcp_client (run-agent-jobs stops scheduling it — no silent fallback to OpenAI; a runner that misses more than two occurrences creates a high-priority todo for the runner owner), turns on automatic handoff processing for the tenant (agent_handoff_settings, at least 5 per hour) so delegate_task to this agent starts on the runner, and records an optimisation (art agent). bedingung: 'scharf' sets the run_condition preset takt_scharf (own open todos, handoffs, open Pipedrive deals, lab results, IK changes since the last run), 'behalten' keeps it; default: scharf when the agent has none. Without ausfuehren:true only the plan is returned and nothing changes. Optional: runner_id, user_id (runner owner; default: found from WhatsApp route / earlier schedules), automatik (default true), grund. Admins (humans) only.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "takt_auf_runner"
  }
}

Input Schema

NameRequiredDescriptionDefault
grundNoReason (free text)
user_idNoID of the user
agent_idYesID of the agent
automatikNoTurn on automatic handoff processing for the tenant; default true
bedingungNoscharf sets the takt_scharf run condition, behalten keeps the existing one
runner_idNoID of the runner
ausfuehrenNotrue applies the move; otherwise only the plan is returned

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"ID of the agent"
    • addedInput schema / properties / ausfuehren / description
      Added value: +"true applies the move; otherwise only the plan is returned"
    • addedInput schema / properties / automatik / description
      Added value: +"Turn on automatic handoff processing for the tenant; default true"
    • addedInput schema / properties / bedingung / description
      Added value: +"scharf sets the takt_scharf run condition, behalten keeps the existing one"
    • addedInput schema / properties / grund / description
      Added value: +"Reason (free text)"
    • addedInput schema / properties / runner_id / description
      Added value: +"ID of the runner"
    • addedInput schema / properties / user_id / description
      Added value: +"ID of the user"
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only flag destructive/idempotent; the description goes far beyond by disclosing the concrete side effects: a cron row in dev_agent_session_schedules with a derived session key and timezone, a switch of trigger_mode to mcp_client so run-agent-jobs stops scheduling it, enabling tenant handoff processing, and an optimisation record. It also explains the skip semantics before each occurrence and the escalation (high-priority todo after more than two missed runs), which an agent could not infer from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The action and target are front-loaded, but the body is one dense run-on block with stacked parentheticals and schema-level identifiers that make it hard to scan. Much of the detail earns its place, yet the structure taxes comprehension and could be split into side-effects, defaults, and gating.

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, multi-system mutation with no output schema, the definition covers side effects, defaults, skip logic, and the dry-run mode thoroughly. The only gap is that the shape of the returned plan is not described, which matters slightly since ausfuehren:false is a supported mode.

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 already 100%, so the baseline is 3; the description adds real meaning on top by explaining the 'scharf'/'behalten' preset contents and the default ('scharf when the agent has none'), plus how user_id is derived when omitted and that automatik defaults to true. This is meaningful enrichment rather than restatement.

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 opening sentence names a specific verb and resource and disambiguates both endpoints: 'Move a scheduled server agent (trigger_mode server_job, runs via OpenAI) to the tenant's dev-agent runner (Claude subscription).' An agent can tell this apart from the inverse sibling takt_zurueck_auf_server without opening the schema.

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?

The description states the dry-run gate explicitly ('Without ausfuehren:true only the plan is returned and nothing changes') and the authorization constraint ('Admins (humans) only'), which is clear context for when the tool applies. It never names the reverse tool or states when-not to move, so the alternative path is left implicit.

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.