Skip to main content
Glama
fleet-dispatch

fleet-dispatch

by Yashodeeps

Fleet Dispatch

A blocked Claude Code session phones you. You say the answer out loud. The session unblocks and continues.

A stuck session costs the forty minutes it sits idle, not the eight seconds the decision takes. One-way alerts don't fix that because you still have to walk back and type. This is a two-way channel: one MCP tool, call_me(context, question, options), that places a real outbound call through CALL-E, blocks until you answer, and returns your spoken decision to the session.

Prerequisites

Related MCP server: phonecall-mcp

Step 0: prove your phone rings

No code of ours involved. This uses CALL-E's own CLI:

export CALLE_API_KEY=calle_...
npx @call-e/calle@latest calls create \
  --phone "+91XXXXXXXXXX" \
  --task "Call this person, say 'this is Fleet Dispatch, testing', and ask if they can hear you clearly." \
  --wait --json

If your phone rings, everything else will work.

Step 1: install the MCP server

git clone git@github.com:Yashodeeps/fleet-dispatch.git ~/fleet-dispatch
cd ~/fleet-dispatch && npm install && npm test

cat > .env <<'EOF'
CALLE_API_KEY=calle_...
FLEET_DISPATCH_PHONE=+91XXXXXXXXXX
FLEET_DISPATCH_REGION=IN
EOF

claude mcp add --scope user --transport stdio fleet-dispatch -- node ~/fleet-dispatch/src/server.ts

The server reads .env next to its source. Variables set in the shell or via claude mcp add --env take precedence. .env is gitignored. User scope means every session on this machine gets the tool.

Step 2: install the Skill

The Skill holds the policy for when a session should dial and when it should not.

mkdir -p ~/.claude/skills && cp -r ~/fleet-dispatch/skill ~/.claude/skills/fleet-dispatch

Step 3: try it

In any claude session:

Call me and ask whether to drop the users table or skip the migration.

Your phone rings. Say "skip it". The tool returns:

{
  "answered": true,
  "decision": "Skip the migration",
  "chosen_option": "Skip the migration",
  "reasoning": null,
  "reason": "answered",
  "call_id": "call_...",
  "summary": "...",
  "transcript": [{ "speaker": "bot", "text": "..." }, { "speaker": "user", "text": "..." }]
}

Dry run

Set FLEET_DISPATCH_DRY_RUN=1 instead of CALLE_API_KEY and the server answers with the first option after a moment, without dialing. Useful for wiring up a new machine or recording a demo.

Configuration

Variable

Required

Meaning

CALLE_API_KEY

yes, unless dry run

CALL-E API key

FLEET_DISPATCH_PHONE

yes

Your number in E.164, the only number this server will ever dial

FLEET_DISPATCH_REGION

no

Country code hint for routing, e.g. IN

FLEET_DISPATCH_LOCALE

no

BCP 47 locale hint, e.g. en-IN

FLEET_DISPATCH_DRY_RUN

no

1 to never dial

Tool contract

call_me(context, question, options?, default?, session?, timeout_seconds?)

  • Blocks up to timeout_seconds (default 300, max 900). Claude Code's MCP tool timeout defaults to many hours, so nothing else to configure.

  • answered: true means you gave and confirmed a decision.

  • reason: hold means you told it to wait. The default is never applied over an explicit hold.

  • reason: timeout or failed:<code> returns default if one was given, otherwise null so the session halts.

  • The phone number comes from the environment, never from the model. The model cannot choose whom to call.

Side effects and safety

  • Every non-dry-run tool call places one real phone call to FLEET_DISPATCH_PHONE and consumes CALL-E credit.

  • There is no retry. A missed call returns the fallback and the Skill tells the session not to call again for the same question.

  • Cancel by hanging up. The call ends and the session gets reason: unclear or hold depending on what was said.

Available Tools

1 tool
call_meCall the engineerA

Place a real phone call to the engineer who owns this session and block until they answer. Use only when you are blocked on a decision that they must make: ambiguous spec, destructive or irreversible action, failing migration, spending money. Never for lint, style, or anything you can decide from the code. The call costs money and interrupts a person. Returns their spoken decision as JSON.

Inputs: context (required), question (required), default, options, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool available, there is no possibility of confusing it with another. The tool's purpose is clearly described and unique within the server.

    Naming Consistency4/5

    The single tool name 'call_me' follows a verb_noun pattern, but with only one tool there is no established pattern to evaluate for consistency. It is internally consistent but offers limited evidence of a naming convention.

    Tool Count2/5

    The server is named 'fleet-dispatch', implying a broad dispatch domain, yet it exposes only a single tool for calling an engineer. This is far too few tools for the apparent scope and leaves the core functionality unaddressed.

    Completeness1/5

    The tool surface is severely incomplete for a fleet dispatch server—there are no tools for managing fleets, routes, vehicles, or dispatches. The single call tool is an outlier that does not cover the domain implied by the server name.

    Maintenance

    ActivityStale
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to make real phone calls on your behalf using VoIP, handling conversations automatically through OpenAI's Real-Time Voice API. Simply tell Claude what you want to accomplish and it will call and manage the entire conversation for you.
      25
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables Claude to make outbound phone calls through Vapi API, supporting any call type and language with features like call initiation, result polling, and structured data extraction.
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to make real outbound phone calls to US/Canada numbers, handle conversations, and return transcripts and recordings via the Model Context Protocol.
      10
      MIT