Skip to main content
Glama
AgentMP

hitl-mcp-server

by AgentMP

How to setup Claude Desktop to use HITL MCP?

  1. Sign up for AgentMP.ai and get an API Key:

https://agentmp.ai/createapikey

(You will have to sign in using your gmail/linkedIn)

  1. Get Local Setup Docker Image and Run it: (Prereq - Docker desktop installed & running)

docker pull agentmp/hitl-mcp-server:latest

docker run -d
--name hitl-mcp-server
--env AGENTMP_API_KEY=""
--restart unless-stopped
-i
agentmp/hitl-mcp-server

  1. Configure claude_desktop.json

{ "mcpServers": { "hitl": { "command": "docker", "args": ["exec", "-i", "hitl-mcp-server", "node", "app.js"], "env": { "AGENTMP_API_KEY": "your_api_key_here" } } } }

  1. Use Cogito HITL on Claude

eg.

List all my HITL escalations

Create a HITL escalation with these details:

  • Session ID: "test-session-123"

  • Agent ID: "claude-test-agent"

  • User prompt: "User wants to purchase premium subscription"

  • Proposed action: Purchase of "Premium Plan" for $29.99

  • Escalate to: "karthik6461@gmail.com"

  • Priority: "normal"

Get details for HITL escalation "esc-[ID-FROM-TEST-2]"

Approve HITL escalation "esc-[ID-FROM-TEST-2]" with comment "Approved for testing purposes"

Create a HITL escalation for a $50 software license purchase, then modify it to $75 enterprise license

Receiving push notifications

  1. To receive Cogito push notifications on Slack/Teams/WhatsApp/Telegram , go to https://agentmp.ai/linkchannels , select your preferred channel and configure your channel identifier.

For Teams and Slack contact your channel admin to enable AgentMP bot.

We are actively onboarding other channels. If you need to run this MCP server entirely within your firewall reachout to ops@manifoldsystems.io

  1. To test out Cogito HITL API on postman you can use postman collection - HITL.postman_collection.json - in this repo.

Please refer to this demo video:

https://github.com/AgentMP/hitl-mcp-server/blob/main/HITLDemoVideo.mp4

HITL MCP Server

What is it?

HITL MCP server streamlines user interactions with AI Agents that are semi-autonomous. Agents can perform their tasks and reach out to humans for approvals, status updates, feedbacks, course corrections using this MCP tool. User interactions are captured, stored for future enhancements. User interactions are managed in channels of choice by end user (slack/teams/whatsapp/telegram/web browser).

Why?

  1. Standardized interactions, does not assume user is sitting in front of the agent and waits for feedback/approvals

  2. Ease of use, without any new app installation

  3. Structured interactions that are stored and tracked for future reference

  4. Domain agnostic implementation

Why Now?

There does not seem to be a single standard for HITL.

A Model Context Protocol (MCP) server that bridges Claude Desktop with your HITL (Human In The Loop) escalation service. This allows Claude to create, approve, modify, reject, and manage HITL escalations directly from Claude Desktop.

https://hub.docker.com/r/agentmp/hitl-mcp-server

Features

  • Create HITL Escalations: Create new escalation requests with proposed actions

  • Approve Escalations: Approve pending escalations with optional comments

  • Modify Escalations: Modify existing escalations with new actions

  • Reject Escalations: Reject escalations with optional comments

  • Get Escalation Details: Retrieve details of specific escalations

  • List Escalations: List all escalations for the authenticated user

If you want to build and run locally yourself ...

Related MCP server: ServiceNow Incident Copilot

Prerequisites

  • Node.js 18+

  • Docker (optional, for containerized deployment)

  • AGENTMP API Key from your platform

  • Claude Desktop application

Steps to Configure Cogito HITL on Claude Desktop

(Please refer to SetupClaudeDesktop.md for steps)

Setup

  1. Clone or create the project files:

    mkdir hitl-mcp-server
    cd hitl-mcp-server
  2. Create all the required files (app.js, package.json, package-lock.json, Dockerfile, docker-compose.yml)

  3. Set your API key:

    export AGENTMP_API_KEY="your_api_key_here"
  4. Build and run the container:

    chmod +x run.sh
    ./run.sh

    Or manually:

    docker-compose up --build -d
  1. Install dependencies:

    npm install
  2. Set your API key:

    export AGENTMP_API_KEY="your_api_key_here"
  3. Use the setup script:

    chmod +x setup-local.sh
    ./setup-local.sh
  4. Or run manually:

    node app.js

Testing Your Setup

Before configuring Claude Desktop, test your setup:

# Test the server directly
export AGENTMP_API_KEY="your_api_key"
node app.js

If working correctly, you should see:

πŸš€ Starting HITL MCP Server...
βœ… API Key loaded successfully  
πŸ”§ Setting up request handlers...
βœ… HITL MCP Server initialized successfully
🌟 HITL MCP Server running and connected via stdio
πŸ“‘ Ready to handle HITL requests from Claude Desktop

Claude Desktop Configuration

To use this MCP server with Claude Desktop, you need to configure it in your Claude Desktop settings.

Configuration Steps

  1. Open Claude Desktop

  2. Go to Settings β†’ Developer

  3. Edit Config (this opens your MCP configuration file)

  4. Add the following configuration:

For Docker Deployment:

{
  "mcpServers": {
    "hitl": {
      "command": "docker",
      "args": ["exec", "-i", "hitl-mcp-server", "node", "app.js"],
      "env": {
        "AGENTMP_API_KEY": "your_api_key_here"
      }
    }
  }
}

For Local Node.js Deployment:

{
  "mcpServers": {
    "hitl": {
      "command": "node",
      "args": ["/path/to/your/hitl-mcp-server/app.js"],
      "env": {
        "AGENTMP_API_KEY": "your_api_key_here"
      }
    }
  }
}
  1. Save the configuration file

  2. Restart Claude Desktop

Usage Examples

Once configured, you can use the following commands in Claude Desktop:

Create a HITL Escalation

Create a HITL escalation for session "sess-123" with agent "my-agent" for a purchase of "Premium License" costing $99.99. Escalate to user "user@example.com" with normal priority.

Approve an Escalation

Approve HITL escalation "esc-123456789" with comment "Approved for purchase"

Modify an Escalation

Modify HITL escalation "esc-123456789" to change the item to "Enterprise License" and amount to $199.99 with comment "Upgraded to enterprise"

Reject an Escalation

Reject HITL escalation "esc-123456789" with comment "Budget exceeded"

Get Escalation Details

Get details for HITL escalation "esc-123456789"

List All Escalations

List all my HITL escalations

Available Tools

The MCP server provides the following tools:

  1. create_hitl: Create a new HITL escalation request

  2. approve_hitl: Approve a HITL escalation

  3. modify_hitl: Modify a HITL escalation with new action

  4. reject_hitl: Reject a HITL escalation

  5. get_hitl: Get details of a specific HITL escalation

  6. list_hitls: List all HITL escalations for the authenticated user

Environment Variables

  • AGENTMP_API_KEY (required): Your API key for the AGENTMP platform

API Endpoints Used

The server communicates with your HITL service using these endpoints:

  • POST /api/hitl/mcp - MCP JSON-RPC endpoint for create, approve, modify

  • POST /api/hitl/{id}/reject - REST endpoint for rejecting escalations

  • GET /api/hitl/{id} - REST endpoint for getting escalation details

  • GET /api/hitl - REST endpoint for listing escalations

Troubleshooting

Common Issues

  1. "No such container: hitl-mcp-server"

    • The Docker container isn't running

    • Run: docker-compose up -d to start it

    • Check: docker ps | grep hitl-mcp-server to verify it's running

    • Recommendation: Use local Node.js setup instead

  2. "Cannot find module '@modelcontextprotocol/sdk/server/index.js'"

    • Dependencies not installed locally

    • Run: npm install in the project directory

    • Make sure you're in the correct directory with package.json

  3. API Key Not Set

    • Ensure AGENTMP_API_KEY environment variable is properly set

    • Check that the API key is valid and has proper permissions

  4. Container Not Starting

    • Check Docker logs: docker logs hitl-mcp-server

    • Ensure the API key is provided in the environment

  5. Claude Desktop Not Recognizing Server

    • Verify the MCP configuration syntax in Claude Desktop

    • Check that the path to the script is correct (use absolute path)

    • Restart Claude Desktop after configuration changes

    • For local setup, use the config format provided by setup-local.sh

  6. Connection Issues

    • Ensure your network allows connections to backend.agentmp.io

    • Check if any firewall rules are blocking the connection

Logs

For Docker deployment, view logs with:

docker logs hitl-mcp-server

For local deployment, logs will appear in the terminal where you ran npm start.

Security Considerations

  • Store your API key securely and never commit it to version control

  • The container runs as a non-root user for security

  • Consider using Docker secrets for production deployments

  • Regularly rotate your API keys

Contributing

Feel free to submit issues and enhancement requests!

License

MIT License

Set your API key

export AGENTMP_API_KEY="99aeae0e6b4f4107a59d1b59010834cb3eb96ae0f667078f7cc2a296dad27785"

Build the image

docker build -t hitl-mcp-server .

Run the container

docker run -d
--name hitl-mcp-server
--env AGENTMP_API_KEY="99aeae0e6b4f4107a59d1b59010834cb3eb96ae0f667078f7cc2a296dad27785"
--restart unless-stopped
-i
hitl-mcp-server

Perfect! Your Docker container is running successfully (ID: 3c10bcf71a6d...).

🎯 Claude Desktop Configuration

Open Claude Desktop β†’ Settings β†’ Developer β†’ Edit Config and add this:## πŸ“ Setup Steps

  1. Save the config above in Claude Desktop

  2. Restart Claude Desktop

  3. Test with the examples below

πŸ§ͺ Simple Test Cases

Here are test cases from basic to advanced:

Test 1: List Existing HITLs (Basic)

List all my HITL escalations

Expected: Should show your existing HITL escalations or empty list

Test 2: Create a HITL Escalation (Core Function)

Create a HITL escalation with these details:
- Session ID: "test-session-123"  
- Agent ID: "claude-test-agent"
- User prompt: "User wants to purchase premium subscription"
- Proposed action: Purchase of "Premium Plan" for $29.99
- Escalate to: "karthik6461@gmail.com"
- Priority: "normal"

Expected: Should return escalation ID like "esc-xxxxx-xxxxx-xxxxx"

Test 3: Get HITL Details (Verification)

Get details for HITL escalation "esc-[ID-FROM-TEST-2]"

Replace [ID-FROM-TEST-2] with the actual ID from Test 2

Test 4: Approve HITL (Action)

Approve HITL escalation "esc-[ID-FROM-TEST-2]" with comment "Approved for testing purposes"

Test 5: Create and Modify (Advanced)

Create a HITL escalation for a $50 software license purchase, then modify it to $75 enterprise license

πŸ” Quick Verification Commands

Before testing in Claude, verify your container:

# Check container is running
docker ps | grep hitl-mcp-server

# Check container logs
docker logs hitl-mcp-server

# Test the container directly
docker exec -i hitl-mcp-server node -e 'console.log("βœ… Container is working!")'

πŸ“Š Expected Claude Responses

If working correctly, Claude should:

  • βœ… Recognize the HITL tools automatically

  • βœ… Create escalations and return IDs like esc-xxxxx-xxxxx-xxxxx

  • βœ… Show JSON responses with escalation details

  • βœ… Handle approve/modify/reject operations

🚨 If Something Goes Wrong

  1. Check Docker logs: docker logs hitl-mcp-server

  2. Restart Claude Desktop after any config changes

  3. Verify container is running: docker ps | grep hitl-mcp-server

Start with Test 1 (list HITLs) - it's the safest and will confirm the connection is working!

Available Tools

6 tools
approve_hitlB

Approve a HITL escalation

ParametersJSON Schema
NameRequiredDescriptionDefault
commentsNoOptional comments for the approval
escalation_idYesThe ID of the escalation to approve

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the action without revealing side effects, such as whether approval is irreversible, triggers notifications, or requires specific permissions. For a mutating operation, this lacks essential transparency about post-approval consequences.

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 description is an efficient single sentence that is front-loaded and free of extraneous words. However, it is so brief that it omits useful guidance, which could be included without sacrificing conciseness. It earns its place for purpose clarity but leaves room for more informative content.

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?

Given that this is a mutation tool with no annotations and no output schema, the description is incomplete. It only states the action and lacks context about the workflow, expected inputs' significance, or what happens after approval. For a tool that affects system state, more context is needed for safe and correct invocation.

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?

The input schema already provides descriptions for both parameters (escalation_id and comments) with 100% coverage, so the description adds no additional semantic value. The description itself does not mention parameters, but the schema handles the documentation adequately, meeting the baseline for high schema coverage.

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 description 'Approve a HITL escalation' clearly identifies the action (approve) and the resource (HITL escalation), making it distinct from sibling tools like reject_hitl, create_hitl, and list_hitls. It uses a specific verb+resource structure that leaves no ambiguity about the tool's core function.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as reject_hitl, modify_hitl, or create_hitl. It does not mention any prerequisites, contextual triggers, or situations where approval is appropriate, leaving the agent to infer usage solely from the tool's name.

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

create_hitlB

Create a new HITL escalation request

ParametersJSON Schema
NameRequiredDescriptionDefault
agent_idYesAgent identifier that is requesting escalation
priorityYesPriority level of the escalation
session_idYesSession identifier for the escalation
webhookurlNoWebhook URL for status updates (optional)
escalate_toYesWho to escalate to
user_promptYesThe user prompt that triggered the escalation
proposed_actionYesThe action that the agent wants to perform
webhookverificationtokenNoWebhook verification token (optional)

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description must carry the burden of behavioral disclosure. It only states that a new request is created, but does not reveal what side effects occur (e.g., notifications, state changes), whether permissions are required, or what the outcome of creation is. The description is opaque about the tool's operational impact.

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

Conciseness5/5

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

The description is a single concise sentence that quickly conveys the tool's purpose. There is no redundant wording or unnecessary detail. The structure is front-loaded and immediately clear.

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?

Despite the tool's complexity (8 parameters, nested objects, no output schema, no annotations), the description is minimal. It does not explain what the tool returns, any side effects, or how the escalation lifecycle works. An agent would lack sufficient context to invoke the tool confidently.

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?

The input schema has 100% description coverage for all 8 parameters, including nested objects like escalate_to and proposed_action. Since the schema fully explains each parameter, the description does not need to add extra semantics. The description itself adds no parameter information, so a baseline score of 3 is appropriate.

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 description clearly states the tool's function: 'Create a new HITL escalation request'. The verb 'create' and resource 'HITL escalation request' make the purpose explicit. It easily distinguishes itself from sibling tools like approve_hitl, reject_hitl, get_hitl, and modify_hitl.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It does not mention the conditions that warrant creating an escalation or compare with modifying an existing one. The only clue is the tool name itself, but the description leaves usage context entirely unaddressed.

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

get_hitlA

Get details of a specific HITL escalation

ParametersJSON Schema
NameRequiredDescriptionDefault
escalation_idYesThe ID of the escalation to retrieve

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. 'Get details' implies a read-only operation, but it does not mention error conditions (e.g., 404 if not found), authentication needs, or the exact structure of the returned details. This is minimally transparent for a simple retrieval tool.

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

Conciseness5/5

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

The description is a single, front-loaded sentence with no filler. Every word earns its place, making it appropriately concise.

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

Completeness3/5

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

For a simple one-parameter get tool, the description is adequate but not rich. It lacks guidance on alternatives, response format (no output schema), and any edge-case behavior. It meets the minimum viable bar but does not go beyond.

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?

The schema describes escalation_id fully ('The ID of the escalation to retrieve'), and schema coverage is 100%. The description adds no extra meaning beyond the schema, such as value format or default behavior, so 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?

The description states a specific verb ('Get') and resource ('details of a specific HITL escalation'). The word 'specific' distinguishes it from sibling list_hitls, and it is clearly distinct from mutation tools like create_hitl, approve_hitl, modify_hitl, and reject_hitl.

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?

The description implies usage when you need details for a single escalation, but it does not explicitly state when to prefer this over list_hitls or provide any context about prerequisites (e.g., needing an escalation_id). No alternative tools are mentioned or excluded.

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

list_hitlsA

List all HITL escalations for the authenticated user

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses user scoping and the listing action, which implies a read operation, but lacks details about pagination, response format, or potential side effects.

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

Conciseness5/5

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

The description is a single concise sentence, front-loaded with the verb and resource, with no wasted words.

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

Completeness3/5

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

With no output schema or annotations, the description is the sole documentation. It covers the basic purpose but omits return value structure, pagination, or default behaviors, leaving some gaps for a listing tool.

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?

There are zero parameters, so the baseline is 4. The description adds no parameter-specific information, but none is needed given the empty 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 description specifies the action (List), resource (HITL escalations), and scope (for the authenticated user), clearly distinguishing it from siblings like get_hitl (single item) and mutation tools (create/approve/modify/reject).

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 provides clear context (lists all escalations for the user) and implies use when a complete collection is needed, but does not explicitly mention when not to use it or contrast with get_hitl. Acceptable without exclusions.

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

modify_hitlB

Modify a HITL escalation with new action

ParametersJSON Schema
NameRequiredDescriptionDefault
commentsNoComments explaining the modification
escalation_idYesThe ID of the escalation to modify
modified_actionYesThe modified action to replace the original

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states 'Modify' without detailing side effects, whether the action is replaced entirely, reversibility, permission requirements, or any other behavioral traits. This is insufficient for a mutation tool.

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

Conciseness5/5

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

The description is a single concise sentence that front-loads the core action and object. Every word earns its place, with no redundant information or filler.

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?

Given the tool has a nested object, no output schema, and no annotations, the description is too brief. It does not explain the return value, the meaning of 'modify' (e.g., replacement vs. partial update), or how it differs from approval/rejection flows. A more complete description would address these gaps, making this inadequate for a mutation tool.

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 coverage is 100% with descriptive text for all top-level parameters. The description adds little beyond the schema, only echoing 'new action' which maps to modified_action. Since the schema already defines the parameters, a baseline score of 3 is appropriate, though nested properties like item and type lack individual descriptions.

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 description uses a specific verb 'Modify' with a clear resource ('HITL escalation') and identifies what changes ('with new action'), distinguishing it from sibling tools like create_hitl, approve_hitl, reject_hitl, get_hitl, and list_hitls. This makes the purpose immediately obvious.

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?

The description implies this tool is for updating an existing HITL escalation, but it does not explicitly state when to use it versus siblings like approve_hitl or reject_hitl. There is no mention of exclusions or alternatives, leaving the usage context somewhat ambiguous.

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

reject_hitlC

Reject a HITL escalation

ParametersJSON Schema
NameRequiredDescriptionDefault
commentsNoOptional comments for the rejection
escalation_idYesThe ID of the escalation to reject

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the action without mentioning side effects, permissions, reversibility, or what happens to the escalation after rejection. The comments parameter is not mentioned either.

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 description is a single, clear sentence that is easy to parse and free of fluff. It is appropriately short for a simple tool, though it could be slightly more structured to include key behavioral context.

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 state-changing tool with no annotations or output schema, the description is insufficient. It lacks context on the rejection workflow, required permissions, and how it relates to approve_hitl, leaving the agent without enough information to invoke it correctly.

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?

The input schema provides full descriptions for both parameters (escalation_id and comments), achieving 100% coverage. The description adds no parameter-specific meaning beyond that, so it meets the baseline for schema-covered parameters.

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

Purpose4/5

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

The description clearly states the action (reject) and object (HITL escalation), distinguishing it from sibling tools like approve_hitl. However, it closely mirrors the tool name and adds minimal extra detail beyond what the name already implies.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as approve_hitl. It lacks any context about the escalation workflow, conditions for rejection, or prerequisites for invoking the tool.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 6 tool updatesv1.0.0
    • First observedapprove_hitl
    • First observedcreate_hitl
    • First observedget_hitl
    • First observedlist_hitls
    • First observedmodify_hitl
    • First observedreject_hitl

TDQS

A3.7/5.0
Disambiguation5/5

Each tool targets a distinct action on HITL escalationsβ€”create, approve, modify, reject, get, listβ€”with no overlapping purposes. An agent can easily select the right tool based on the desired operation.

Naming Consistency5/5

All tools follow a consistent verb_hitl pattern (e.g., create_hitl, approve_hitl, list_hitls), using snake_case throughout. The pluralization in list_hitls is a minor deviation but still follows the expected convention.

Tool Count5/5

With 6 tools, the server is well-scoped for managing HITL escalations. Each tool covers a necessary action without redundancy, fitting comfortably within the ideal range.

Completeness5/5

The toolset covers the full lifecycle of a HITL escalation: creation (create_hitl), retrieval (get_hitl, list_hitls), updates (modify_hitl), and state transitions (approve_hitl, reject_hitl). No obvious gaps for the intended domain.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AgentMP/hitl-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server