Skip to main content
Glama
@proof-holdings/mcp-server

@proof-holdings/mcp-server

Official

upload_hitl_keys

Destructive

Uploads an approval channel's RSA public key and encrypted private key envelope so human-in-the-loop approvals can be encrypted and verified. Deprecated: use upload_approval_channel_keys instead.

Instructions

Deprecated: use upload_approval_channel_keys

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": {
      "hitl_id": "<hitl_id>",
      "public_key": "<public_key>",
      "encrypted_private_key": "<encrypted_private_key>",
      "kdf_salt": "<kdf_salt>"
    },
    "name": "upload_hitl_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
dek_ivNov2 envelope: the IV of that wrapping
dek_tagNov2 envelope: the GCM tag of that wrapping
hitl_idYesApproval channel ID
kdf_saltYesBase64url-encoded PBKDF2 salt
public_keyYesPEM-encoded RSA-4096 SPKI public key
wrapped_dekNov2 envelope: the data key wrapped under the master key
backup_dek_ivNov2 envelope: the IV of the recovery wrapping
backup_dek_tagNov2 envelope: the GCM tag of the recovery wrapping
backup_wrapped_dekNov2 envelope: the data key wrapped under the recovery code
encrypted_private_keyYesJSON-serialized encrypted private key envelope (PBKDF2-SHA256+AES-256-GCM)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.10.0
    • changedInput schema / properties / hitl_id / description
      Previous value: -"HITL config ID"New value: +"Approval channel ID"
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "description": "The keypair stored",
      -  "properties": {
      -    "kid": {
      -      "description": "The stored key's id",
      -      "type": "string"
      -    },
      -    "message": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "kid",
      -    "message"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed8 schema fields changedv1.7.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / backup_dek_iv
      Added value: +{
      +  "description": "v2 envelope: the IV of the recovery wrapping",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / backup_dek_tag
      Added value: +{
      +  "description": "v2 envelope: the GCM tag of the recovery wrapping",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / backup_wrapped_dek
      Added value: +{
      +  "description": "v2 envelope: the data key wrapped under the recovery code",
      +  "maxLength": 500,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / dek_iv
      Added value: +{
      +  "description": "v2 envelope: the IV of that wrapping",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / dek_tag
      Added value: +{
      +  "description": "v2 envelope: the GCM tag of that wrapping",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / wrapped_dek
      Added value: +{
      +  "description": "v2 envelope: the data key wrapped under the master key",
      +  "maxLength": 500,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "description": "The keypair stored",
      +  "properties": {
      +    "kid": {
      +      "description": "The stored key's id",
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "kid",
      +    "message"
      +  ],
      +  "type": "object"
      +}
  3. First observedv1.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation/destructive profile is covered structurally. The deprecation note is a genuine behavioral fact beyond annotations, but the description omits the critical detail: whether calls still succeed, silently no-op, or fail, and what key material state results from a destructive overwrite.

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?

A single short sentence with zero waste, front-loaded with the most actionable word ('Deprecated') and the exact replacement name. Any shorter would lose the redirect; the brevity is a virtue here even though the content is thin.

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

Completeness2/5

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

This is a 10-parameter destructive mutation tool with no output schema, and the description covers none of the operational semantics an agent needs: error behavior, whether the successor accepts identical parameters, or migration implications. The deprecation redirect is the one essential fact it does convey, which keeps it above a 1.

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% and all 10 parameters (hitl_id, public_key, kdf_salt, encrypted_private_key, plus the v2 envelope fields) are documented in the schema itself. The description adds nothing about parameters, which is acceptable at full coverage but earns only the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states what the tool does; it only announces deprecation and names a successor. An agent must infer the operation (uploading approval-channel key material) from the tool name and the replacement's name, which is essentially tautological restatement plus a redirect.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It does name the specific alternative (upload_approval_channel_keys) and the condition that selects it (this one is deprecated), which is real routing value. But it gives no guidance on whether existing callers should migrate mid-workflow or what happens if this tool is still invoked, leaving the practical decision implied.

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

Deploy Server

Other Tools