Skip to main content
Glama
wundervault

wundervault

Official

vault_call

Call a web service with a stored secret without exposing it: the broker attaches the secret, sends the request, and returns the response with the secret removed.

Instructions

Call a web service with a vaulted secret that is never returned to you: the broker attaches the secret, sends the request and gives you the answer with the secret removed.

Two ways to call. Describe the request yourself with request (origin, method, path, and optional query, body and your own headers). Or run a named operation the owner defined, with operation_id and typed args: the operation fixes the origin and route, returns only the fields it permits, and is signed with a key derived from the secret itself, so a definition altered in transit is refused. vault_entries_list shows which operations an entry offers.

Either way the entry decides how the secret is attached (a header, a query parameter, a username and password, or part of the web address), and you never see the secret. A key the owner saved without saying how it is sent is refused with NEEDS_PLACEMENT the first time at an address: follow the service's own docs and propose it with request.send_as {in:"header"|"query", name, template:"... {secret} ..."} ({secret} exactly once). The owner approves it once for that address; later calls there go straight through.

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": {
      "entry_id": "<entry_id>",
      "purpose": "<purpose>"
    },
    "name": "vault_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoTyped arguments for operation_id, checked against its schema.
purposeYesWhy this is needed (audit log).
requestNoDescribe the call yourself: {origin:{scheme,host,port}, method, path, body?, query?, headers?}. body: an object or array is sent as JSON; a string is sent as written (set content-type in headers, e.g. application/x-www-form-urlencoded). headers: your own, such as user-agent or an API version; the header that carries the secret, and framing headers, are refused. If the entry keeps its secret in the web address (Telegram, webhooks), path is only what comes AFTER the secret, e.g. /sendMessage, or / for the stored address as is. Tier 1 secrets proceed and are logged. Tier 2 secrets are refused until the owner approves this exact origin, method and path; the approval covers whatever headers and body it carries. STAMPED keys (AWS, X, SnapTrade, exchanges) never travel: add request.stamp describing how the service signs requests, either {builtin:"aws-sigv4", region, service}, {builtin:"oauth1"} for OAuth 1.0a (X, Tumblr, Flickr; optional signature_method:"HMAC-SHA256" and realm for NetSuite; nonce, timestamp and the Authorization header are written for you; the owner stores the four values as {"api_key","api_secret","access_token","access_token_secret"}), or {mac:"hmac-sha256"|"hmac-sha384"|"hmac-sha512", key:"utf8"|"base64"|"hex", message:[parts], encoding:"hex"|"base64"|"base64url", place:[{in:"header"|"query", name, value:"…{stamp}…"}]}. Parts: {text}, {var: method|path|query|path_and_query|body|host|key_id|body_json}, {header: name}, {body_field: name}, {sha256:[parts]}, {sha512:[parts]}, {sha256_hex:[parts]}, {json:{name: part}} (sorted keys, no spaces). Parts read the request before the stamp is placed; put timestamps and nonces in the request yourself. place values may use {stamp} and {key_id}. The owner approves each recipe once per address; the first call waits for that. STORED LOGINS (a username and password, e.g. a router or a self-hosted app whose API wants you to sign in first): add request.sign_in = {login:{method:"POST"|"PUT", path, body_format:"json"|"form", body (use "{{username}}" and "{{password}}" where they go)}, session_from:{cookie:name}|{json:"a.b"}|{header:name}, send_session_as:{cookie:name}|{header:name, template:"Bearer {{session}}"}, signed_out_when?:[401], expires_after_seconds?}. The broker signs in, keeps the session, and sends it on this and later calls; you never see the password or the session. The owner approves each sign-in once per address. A device on the owner's own network with its own (self-signed) certificate: add request.trust_certificate:true; the owner approves that exact certificate.
entry_idYesVault entry holding the credential.
operation_idNoA signed operation on the entry. Use this OR request, not both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.4.0
    • changedInput schema / properties / request / description
      Previous value: -"Describe the call yourself: {origin:{scheme,host,port}, method, path, body?, query?, headers?}. body: an object or array is sent as JSON; a string is sent as written (set content-type in headers, e.g. application/x-www-form-urlencoded). headers: your own, such as user-agent or an API version; the header that carries the secret, and framing headers, are refused. If the entry keeps its secret in the web address (Telegram, webhooks), path is only what comes AFTER the secret, e.g. /sendMessage, or / for the stored address as is. Tier 1 secrets proceed and are logged. Tier 2 secrets are refused until the owner approves this exact origin, method and path; the approval covers whatever headers and body it carries. STAMPED keys (AWS, X, SnapTrade, exchanges) never travel: add request.stamp describing how the service signs requests, either {builtin:\"aws-sigv4\", region, service}, {builtin:\"oauth1\"} for OAuth 1.0a (X, Tumblr, Flickr; optional signature_method:\"HMAC-SHA256\" and realm for NetSuite; nonce, timestamp and the Authorization header are written for you; the owner stores the four values as {\"api_key\",\"api_secret\",\"access_token\",\"access_token_secret\"}), or {mac:\"hmac-sha256\"|\"hmac-sha384\"|\"hmac-sha512\", key:\"utf8\"|\"base64\"|\"hex\", message:[parts], encoding:\"hex\"|\"base64\"|\"base64url\", place:[{in:\"header\"|\"query\", name, value:\"…{stamp}…\"}]}. Parts: {text}, {var: method|path|query|path_and_query|body|host|key_id|body_json}, {header: name}, {body_field: name}, {sha256:[parts]}, {sha512:[parts]}, {sha256_hex:[parts]}, {json:{name: part}} (sorted keys, no spaces). Parts read the request before the stamp is placed; put timestamps and nonces in the request yourself. place values may use {stamp} and {key_id}. The owner approves each recipe once per address; the first call waits for that."New value: +"Describe the call yourself: {origin:{scheme,host,port}, method, path, body?, query?, headers?}. body: an object or array is sent as JSON; a string is sent as written (set content-type in headers, e.g. application/x-www-form-urlencoded). headers: your own, such as user-agent or an API version; the header that carries the secret, and framing headers, are refused. If the entry keeps its secret in the web address (Telegram, webhooks), path is only what comes AFTER the secret, e.g. /sendMessage, or / for the stored address as is. Tier 1 secrets proceed and are logged. Tier 2 secrets are refused until the owner approves this exact origin, method and path; the approval covers whatever headers and body it carries. STAMPED keys (AWS, X, SnapTrade, exchanges) never travel: add request.stamp describing how the service signs requests, either {builtin:\"aws-sigv4\", region, service}, {builtin:\"oauth1\"} for OAuth 1.0a (X, Tumblr, Flickr; optional signature_method:\"HMAC-SHA256\" and realm for NetSuite; nonce, timestamp and the Authorization header are written for you; the owner stores the four values as {\"api_key\",\"api_secret\",\"access_token\",\"access_token_secret\"}), or {mac:\"hmac-sha256\"|\"hmac-sha384\"|\"hmac-sha512\", key:\"utf8\"|\"base64\"|\"hex\", message:[parts], encoding:\"hex\"|\"base64\"|\"base64url\", place:[{in:\"header\"|\"query\", name, value:\"…{stamp}…\"}]}. Parts: {text}, {var: method|path|query|path_and_query|body|host|key_id|body_json}, {header: name}, {body_field: name}, {sha256:[parts]}, {sha512:[parts]}, {sha256_hex:[parts]}, {json:{name: part}} (sorted keys, no spaces). Parts read the request before the stamp is placed; put timestamps and nonces in the request yourself. place values may use {stamp} and {key_id}. The owner approves each recipe once per address; the first call waits for that. STORED LOGINS (a username and password, e.g. a router or a self-hosted app whose API wants you to sign in first): add request.sign_in = {login:{method:\"POST\"|\"PUT\", path, body_format:\"json\"|\"form\", body (use \"{{username}}\" and \"{{password}}\" where they go)}, session_from:{cookie:name}|{json:\"a.b\"}|{header:name}, send_session_as:{cookie:name}|{header:name, template:\"Bearer {{session}}\"}, signed_out_when?:[401], expires_after_seconds?}. The broker signs in, keeps the session, and sends it on this and later calls; you never see the password or the session. The owner approves each sign-in once per address. A device on the owner's own network with its own (self-signed) certificate: add request.trust_certificate:true; the owner approves that exact certificate."
  2. Changed1 schema field changedv2.1.0
    • changedInput schema / properties / request / description
      Previous value: -"Describe the call yourself: {origin:{scheme,host,port}, method, path, body?, query?, headers?}. body: an object or array is sent as JSON; a string is sent as written (set content-type in headers, e.g. application/x-www-form-urlencoded). headers: your own, such as user-agent or an API version; the header that carries the secret, and framing headers, are refused. If the entry keeps its secret in the web address (Telegram, webhooks), path is only what comes AFTER the secret, e.g. /sendMessage, or / for the stored address as is. Tier 1 secrets proceed and are logged. Tier 2 secrets are refused until the owner approves this exact origin, method and path; the approval covers whatever headers and body it carries. STAMPED keys (AWS, SnapTrade, exchanges) never travel: add request.stamp describing how the service signs requests, either {builtin:\"aws-sigv4\", region, service} or {mac:\"hmac-sha256\"|\"hmac-sha384\"|\"hmac-sha512\", key:\"utf8\"|\"base64\"|\"hex\", message:[parts], encoding:\"hex\"|\"base64\"|\"base64url\", place:[{in:\"header\"|\"query\", name, value:\"…{stamp}…\"}]}. Parts: {text}, {var: method|path|query|path_and_query|body|host|key_id|body_json}, {header: name}, {body_field: name}, {sha256:[parts]}, {sha512:[parts]}, {sha256_hex:[parts]}, {json:{name: part}} (sorted keys, no spaces). Parts read the request before the stamp is placed; put timestamps and nonces in the request yourself. place values may use {stamp} and {key_id}. The owner approves each recipe once per address; the first call waits for that."New value: +"Describe the call yourself: {origin:{scheme,host,port}, method, path, body?, query?, headers?}. body: an object or array is sent as JSON; a string is sent as written (set content-type in headers, e.g. application/x-www-form-urlencoded). headers: your own, such as user-agent or an API version; the header that carries the secret, and framing headers, are refused. If the entry keeps its secret in the web address (Telegram, webhooks), path is only what comes AFTER the secret, e.g. /sendMessage, or / for the stored address as is. Tier 1 secrets proceed and are logged. Tier 2 secrets are refused until the owner approves this exact origin, method and path; the approval covers whatever headers and body it carries. STAMPED keys (AWS, X, SnapTrade, exchanges) never travel: add request.stamp describing how the service signs requests, either {builtin:\"aws-sigv4\", region, service}, {builtin:\"oauth1\"} for OAuth 1.0a (X, Tumblr, Flickr; optional signature_method:\"HMAC-SHA256\" and realm for NetSuite; nonce, timestamp and the Authorization header are written for you; the owner stores the four values as {\"api_key\",\"api_secret\",\"access_token\",\"access_token_secret\"}), or {mac:\"hmac-sha256\"|\"hmac-sha384\"|\"hmac-sha512\", key:\"utf8\"|\"base64\"|\"hex\", message:[parts], encoding:\"hex\"|\"base64\"|\"base64url\", place:[{in:\"header\"|\"query\", name, value:\"…{stamp}…\"}]}. Parts: {text}, {var: method|path|query|path_and_query|body|host|key_id|body_json}, {header: name}, {body_field: name}, {sha256:[parts]}, {sha512:[parts]}, {sha256_hex:[parts]}, {json:{name: part}} (sorted keys, no spaces). Parts read the request before the stamp is placed; put timestamps and nonces in the request yourself. place values may use {stamp} and {key_id}. The owner approves each recipe once per address; the first call waits for that."
  3. Addedv2.0.2

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the whole burden and does most of it: it discloses that the secret is never returned, that Tier 1 secrets proceed and are logged while Tier 2 secrets block on owner approval per origin/method/path, and that altered operation definitions are refused because they are signed. It also covers the approval-once semantics for placement recipes, stamp recipes, sign-ins, and self-signed certificates. It does not say what a failure other than NEEDS_PLACEMENT looks like or whether calls have side effects beyond the obvious, which keeps it off a 5.

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?

The core concept is front-loaded in the first sentence, then the two calling modes, then the secret-placement fallback, which is a sensible ordering for a tool this complex. The third paragraph is dense and duplicates nested-schema detail, but nearly every sentence conveys a distinct constraint.

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 five-parameter, deeply nested broker tool with no output schema, the description explains the return shape at a high level ('the answer with the secret removed') and covers the main blocking/approval behaviors. It leaves gaps around non-placement error handling and any rate or size limits, but an agent has enough to invoke it correctly in both modes.

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 description coverage is 100%, so the schema already documents entry_id, purpose, operation_id, args, and the entire nested `request` object, and the description largely restates that material (send_as templates, stamp recipes, sign_in structure). It does add the relationship between `args` and the chosen `operation_id` and the fact that `purpose` feeds an audit log, but that is marginal against a schema that already says the same. Baseline 3 applies.

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 ('Call a web service with a vaulted secret') and immediately defines the broker's role: it attaches the secret, sends the request, and strips the secret from the answer. The two calling modes (self-described `request` vs. signed `operation_id`) are named up front, so an agent can tell this apart from sibling operations like vault_sign or vault_ssh_exec.

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 concrete routing rules inside the tool: use `request` OR `operation_id`, never both, and points to vault_entries_list to discover which operations an entry offers. It also documents the recovery path when a call fails with NEEDS_PLACEMENT. It stops short of stating when to prefer this tool over the other vault_* siblings, so it is not a full 5.

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