Skip to main content
Glama
wundervault

wundervault

Official

vault_job_request

Request owner-approved scheduled jobs that run commands over SSH on a server, with optional recurring schedules, timeouts, and file-keeping for backups. Nothing runs until the owner approves it.

Instructions

Ask the owner for a SCHEDULED JOB the helper app runs for you on a server, with one of your SSH keys. Give a name, entry_id, destination user@host[:port], exact argv (program and arguments, no shell), schedule, and why it is needed. The owner approves it on the Jobs page in their vault, with a passkey and sees the exact command. Nothing runs until then. The job then runs on its own, with no agent involved. Jobs use everyday SSH keys that run without asking, never admin or ask-first keys. Only one job runs per server at a time. Timeout defaults to 300 seconds; ask for more (up to 6 hours) when the job needs it — the owner sees and approves it. Output stays on the helper; this tool does not return it. Use vault_job_status to check the request. For a job that brings back a FILE (a backup), give file: {max_bytes, keep}: the command writes the file to its output, and the helper keeps it in its own folder on its computer (the last keep copies), which agents cannot read. A run that passes max_bytes, or would leave the helper's drive too full, fails and keeps nothing. The request is refused if max_bytes × (keep + 1) would not fit in the free space. A run must finish within its timeout, so set timeout_s long enough for the file to transfer.

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": {
      "name": "<name>",
      "entry_id": "<entry_id>",
      "destination": "<destination>",
      "argv": "<argv>",
      "schedule": "<schedule>",
      "why": "<why>"
    },
    "name": "vault_job_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyYesWhy this job is needed, shown to the owner. No control characters.
argvYesExact program and arguments. No shell; at most 16 KB total in UTF-8, without NUL characters.
fileNoOnly for a job whose output is a file to keep (a backup).
nameYesJob name, without control characters or surrounding whitespace.
entry_idYesAn everyday, runs-without-asking SSH key held by this agent.
scheduleYesDaily at HH:MM, or every 1 to 24 hours, with an IANA time zone.
timeout_sNoMaximum run time in seconds (up to 6 hours).
destinationYesSSH destination: user@host[:port].
grace_minutesNoExtra time before a missed run is reported.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.7.1
    • addedInput schema / properties / file
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Only for a job whose output is a file to keep (a backup).",
      +  "properties": {
      +    "keep": {
      +      "default": 7,
      +      "description": "How many copies to keep (default 7).",
      +      "maximum": 14,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "max_bytes": {
      +      "description": "Largest file allowed, in bytes (up to 1 TB; the helper's free disk space must fit it).",
      +      "maximum": 1099511627776,
      +      "minimum": 1,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "max_bytes"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / timeout_s / description
      Previous value: -"Maximum run time in seconds."New value: +"Maximum run time in seconds (up to 6 hours)."
    • changedInput schema / properties / timeout_s / maximum
      Previous value: -600New value: +21600
  2. Addedv2.6.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: owner approval with a passkey, no execution before approval, autonomous post-approval runs with no agent involved, restriction to everyday (non-admin, non-ask-first) keys, one job per server, timeout default and 6-hour ceiling, and output that never returns to the agent. It also documents failure modes for file jobs — exceeding max_bytes, insufficient free space, and the max_bytes × (keep + 1) admission check.

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?

Purpose is front-loaded and the required inputs are listed immediately after, before the approval flow and file semantics. Every sentence carries information, though the approval/visibility point is restated (once for the passkey, once for timeout increases) and parameter rules are interleaved with behavioral rules rather than grouped.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter mutation tool with nested objects, no output schema, and no annotations, the description covers the approval gate, constraints, retention, and failure modes. It explicitly tells the agent the tool does not return job output and points to vault_job_status, closing the one gap an absent output schema would otherwise leave.

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 100%, so the baseline is 3, but the description adds real meaning: argv is a no-shell program-and-argument vector, file retention keeps the last `keep` copies in a helper folder agents cannot read, and timeout_s must be sized to cover the file transfer. These are behavioral semantics the schema cannot express, though grace_minutes and tz are left entirely to the schema.

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 (ask/request), the exact resource (a scheduled job run by the helper app on a server via an SSH key), and the mechanism. It is distinguishable at a glance from vault_ssh_exec (immediate execution) and vault_job_status (status check) without reading any 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?

It clearly routes the agent to vault_job_status for checking a request and states that nothing runs until the owner approves, which is a strong usage condition. It also scopes the file mode to backup-style jobs. It never explicitly says when to prefer vault_ssh_exec over a scheduled job, so the boundary with that sibling is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.