Skip to main content
Glama
agentsimdev

agentsim-mcp

Official
by agentsimdev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGENTSIM_API_KEYYesYour AgentSIM API key. Get it at https://console.agentsim.dev.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
provision_numberA

Lease a temporary programmable phone number for receiving SMS OTP codes.

Returns the phone number (e164 format) and a session_id needed for all subsequent calls. The number is reserved for your session for ttl_seconds.

Next step: use the returned number on your target service to trigger an SMS, then call wait_for_otp with the returned session_id.

wait_for_otpA

Block until an SMS OTP arrives for this session, then return the code.

Polls the AgentSIM API for up to timeout_seconds. Returns the OTP code and the message it was extracted from.

If the OTP does not arrive in time, raises a ToolError with advice on retrying. Always call release_number after you have used the OTP.

get_messagesA

List all SMS messages received in this session without consuming the OTP.

Use this to inspect raw messages or check if an SMS arrived before calling wait_for_otp. Does NOT mark the OTP as consumed.

release_numberA

Release a provisioned number back to the pool.

Always call this when you are done with the session — even on error — to avoid consuming pool capacity unnecessarily.

list_numbersA

List active sessions, optionally filtered by agent_id.

Use this to check for leaked sessions or inspect what numbers are currently active in your account.

Prompts

Interactive templates invoked by user choice

NameDescription
verify_phone_numberStep-by-step guide to run an OTP session on a target workflow. Walks through the full AgentSIM workflow: provision → enter number → wait for OTP → inspect diagnostics → release.
debug_verification_failureDiagnose why phone verification failed and suggest fixes. Common issues: VoIP blocking, carrier cold-start, number already used.

Resources

Contextual data attached and managed by the client

NameDescription
account_statusCurrent AgentSIM account status including active sessions and usage.
quickstart_guideAgentSIM quickstart guide — how to get started in 60 seconds.

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/agentsimdev/agentsim-mcp'

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