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

@proof-holdings/mcp-server

Official

create_hitl

Sets up a human-in-the-loop approval channel that routes action requests to Telegram, WhatsApp, or a circle of members with a configurable timeout. Deprecated: use create_approval_channel.

Instructions

Deprecated: use create_approval_channel

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>"
    },
    "name": "create_hitl"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesHuman-readable name for this approval channel
channelsNoMessaging channels for approval requests (telegram or whatsapp). Either channels or circle_id is required.
circle_idNoRoute approvals through this circle's members instead of listed channels (24 hex characters)
profile_idNoThe sub-account (24 hex characters) whose branding the approval messages carry; omitted, the primary
timeout_secondsNoDefault timeout in seconds (60–86400, default: 3600)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.13.1
    • changedInput schema / properties / channels / items / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "config": {
      -        "properties": {
      -          "chat_id": {
      -            "maxLength": 50,
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "chat_id"
      -        ],
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "telegram",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "config"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "config": {
      -        "properties": {
      -          "bsuid": {
      -            "description": "WhatsApp Business-Scoped User ID (e.g. US.abc123...)",
      -            "pattern": "^[A-Z]{2}\\.[a-zA-Z0-9]{10,140}$",
      -            "type": "string"
      -          },
      -          "phone_number": {
      -            "description": "Phone number in E.164 format",
      -            "pattern": "^\\+?[1-9]\\d{6,14}$",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "whatsapp",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "config"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "config": {
      +        "properties": {
      +          "chat_id": {
      +            "description": "The person's numeric Telegram user ID (a group id cannot be used)",
      +            "pattern": "^[1-9]\\d{0,19}$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "chat_id"
      +        ],
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "telegram",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "config"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "config": {
      +        "properties": {
      +          "bsuid": {
      +            "description": "WhatsApp Business-Scoped User ID (e.g. US.abc123...)",
      +            "pattern": "^[A-Z]{2}\\.[a-zA-Z0-9]{10,140}$",
      +            "type": "string"
      +          },
      +          "phone_number": {
      +            "description": "Phone number in E.164 format",
      +            "pattern": "^\\+?[1-9]\\d{6,14}$",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "whatsapp",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "config"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed2 schema fields changedv1.10.0
    • changedInput schema / properties / name / description
      Previous value: -"Human-readable name for this HITL config"New value: +"Human-readable name for this approval channel"
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "description": "HITL configuration with messaging channels and timeout",
      -  "properties": {
      -    "channels": {
      -      "items": {
      -        "oneOf": [
      -          {
      -            "additionalProperties": {},
      -            "properties": {
      -              "config": {
      -                "additionalProperties": {},
      -                "properties": {
      -                  "chat_id": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "chat_id"
      -                ],
      -                "type": "object"
      -              },
      -              "type": {
      -                "const": "telegram",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "type",
      -              "config"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": {},
      -            "properties": {
      -              "config": {
      -                "additionalProperties": {},
      -                "properties": {
      -                  "bsuid": {
      -                    "type": "string"
      -                  },
      -                  "phone_number": {
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "type": {
      -                "const": "whatsapp",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "type",
      -              "config"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "type": "array"
      -    },
      -    "circle_id": {
      -      "description": "Backing Circle for a circle-backed Approvals config (null for channel-list configs)",
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "created_at": {
      -      "type": "string"
      -    },
      -    "environment": {
      -      "type": "string"
      -    },
      -    "id": {
      -      "description": "MongoDB ObjectId",
      -      "type": "string"
      -    },
      -    "keypair": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": {},
      -          "properties": {
      -            "has_backup_wrapper": {
      -              "type": "boolean"
      -            },
      -            "has_encrypted_private_key": {
      -              "type": "boolean"
      -            },
      -            "has_wrapped_dek": {
      -              "type": "boolean"
      -            },
      -            "kid": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "kid",
      -            "has_encrypted_private_key",
      -            "has_wrapped_dek",
      -            "has_backup_wrapper"
      -          ],
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "description": "Encryption keypair metadata (null if not configured)"
      -    },
      -    "name": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "profile_id": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "status": {
      -      "description": "Status of a HITL configuration",
      -      "type": "string"
      -    },
      -    "timeout_seconds": {
      -      "maximum": 9007199254740991,
      -      "minimum": -9007199254740991,
      -      "type": "integer"
      -    },
      -    "updated_at": {
      -      "type": "string"
      -    },
      -    "user_id": {
      -      "description": "Owner user ID (useful for SDK encryption AAD)",
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "id",
      -    "user_id",
      -    "channels",
      -    "timeout_seconds",
      -    "status",
      -    "keypair",
      -    "environment",
      -    "created_at",
      -    "updated_at"
      -  ],
      -  "type": "object"
      -}New value: +null
  3. Changed8 schema fields changedv1.7.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / channels / description
      Previous value: -"Messaging channels for approval requests (telegram or whatsapp)"New value: +"Messaging channels for approval requests (telegram or whatsapp). Either channels or circle_id is required."
    • removedInput schema / properties / channels / items / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "config": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "chat_id": {
      -            "maxLength": 50,
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "chat_id"
      -        ],
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "telegram",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "config"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "config": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "bsuid": {
      -            "description": "WhatsApp Business-Scoped User ID (e.g. US.abc123...)",
      -            "pattern": "^[A-Z]{2}\\.[a-zA-Z0-9]{10,140}$",
      -            "type": "string"
      -          },
      -          "phone_number": {
      -            "description": "Phone number in E.164 format",
      -            "pattern": "^\\+?[1-9]\\d{6,14}$",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "const": "whatsapp",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "config"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedInput schema / properties / channels / items / oneOf
      Added value: +[
      +  {
      +    "properties": {
      +      "config": {
      +        "properties": {
      +          "chat_id": {
      +            "maxLength": 50,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "chat_id"
      +        ],
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "telegram",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "config"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "config": {
      +        "properties": {
      +          "bsuid": {
      +            "description": "WhatsApp Business-Scoped User ID (e.g. US.abc123...)",
      +            "pattern": "^[A-Z]{2}\\.[a-zA-Z0-9]{10,140}$",
      +            "type": "string"
      +          },
      +          "phone_number": {
      +            "description": "Phone number in E.164 format",
      +            "pattern": "^\\+?[1-9]\\d{6,14}$",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": {
      +        "const": "whatsapp",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "config"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / circle_id
      Added value: +{
      +  "description": "Route approvals through this circle's members instead of listed channels (24 hex characters)",
      +  "pattern": "^[0-9a-fA-F]{24}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / profile_id
      Added value: +{
      +  "description": "The sub-account (24 hex characters) whose branding the approval messages carry; omitted, the primary",
      +  "pattern": "^[0-9a-fA-F]{24}$",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "name",
      -  "channels"
      -]New value: +[
      +  "name"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "description": "HITL configuration with messaging channels and timeout",
      +  "properties": {
      +    "channels": {
      +      "items": {
      +        "oneOf": [
      +          {
      +            "additionalProperties": {},
      +            "properties": {
      +              "config": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "chat_id": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "chat_id"
      +                ],
      +                "type": "object"
      +              },
      +              "type": {
      +                "const": "telegram",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "type",
      +              "config"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": {},
      +            "properties": {
      +              "config": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "bsuid": {
      +                    "type": "string"
      +                  },
      +                  "phone_number": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": {
      +                "const": "whatsapp",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "type",
      +              "config"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "type": "array"
      +    },
      +    "circle_id": {
      +      "description": "Backing Circle for a circle-backed Approvals config (null for channel-list configs)",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "created_at": {
      +      "type": "string"
      +    },
      +    "environment": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "description": "MongoDB ObjectId",
      +      "type": "string"
      +    },
      +    "keypair": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "has_backup_wrapper": {
      +              "type": "boolean"
      +            },
      +            "has_encrypted_private_key": {
      +              "type": "boolean"
      +            },
      +            "has_wrapped_dek": {
      +              "type": "boolean"
      +            },
      +            "kid": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "kid",
      +            "has_encrypted_private_key",
      +            "has_wrapped_dek",
      +            "has_backup_wrapper"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Encryption keypair metadata (null if not configured)"
      +    },
      +    "name": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "profile_id": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "description": "Status of a HITL configuration",
      +      "type": "string"
      +    },
      +    "timeout_seconds": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "updated_at": {
      +      "type": "string"
      +    },
      +    "user_id": {
      +      "description": "Owner user ID (useful for SDK encryption AAD)",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "user_id",
      +    "channels",
      +    "timeout_seconds",
      +    "status",
      +    "keypair",
      +    "environment",
      +    "created_at",
      +    "updated_at"
      +  ],
      +  "type": "object"
      +}
  4. First observedv1.1.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the write nature is already known. Beyond the deprecation flag, the description says nothing about what actually gets created, permission requirements, or side effects for a tool that provisions messaging channels and approval routing.

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?

One front-loaded sentence with zero filler — the deprecation notice is the first and only thing read. It is arguably too terse for the tool's complexity, but no wording is wasted.

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?

For a five-parameter creation tool with nested channel configs and no output schema, a bare deprecation string leaves the agent without purpose, side-effect, or migration detail. The deprecation warning is high-value, but it substitutes for a description rather than completing one.

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%, with each of the five parameters (name, channels, circle_id, profile_id, timeout_seconds) documented in-schema including formats and constraints, so the baseline of 3 applies. The description adds no parameter meaning beyond the schema, and notably omits how these map to the replacement tool's arguments.

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 declares deprecation and names a replacement. An agent cannot learn from this text that it creates an approval/HITL channel, routes via messaging channels or a circle, and sets a timeout; that must be inferred from the name and 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 gives an explicit when-not ('Deprecated') plus the concrete alternative ('use create_approval_channel'), which is exactly the routing signal an agent needs. It stops short of a 5 because it offers no migration mapping between this tool's five parameters and the replacement's, nor any residual case where this tool would still be required.

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