Skip to main content
Glama

get_server_info

Retrieve server details including version, loaded categories, and configuration status to debug and verify setup for the Instantly.ai email outreach platform.

Instructions

Get Instantly MCP server information.

Returns server version, loaded categories, and configuration status. Useful for debugging and verifying server setup.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the get_server_info tool. It gathers server metadata, tool counts per category, API key status, lazy loading info, and rate limit details, then returns a formatted JSON string.
    async def get_server_info() -> str: """ Get Instantly MCP server information. Returns server version, loaded categories, and configuration status. Useful for debugging and verifying server setup. """ import json client = get_client() categories = get_requested_categories() info = { "server": SERVER_NAME, "version": SERVER_VERSION, "api_key_configured": client.has_api_key, "lazy_loading_enabled": is_lazy_loading_enabled(), "loaded_categories": categories, "tool_counts": { "accounts": 6 if "accounts" in categories else 0, "campaigns": 8 if "campaigns" in categories else 0, # +2: delete_campaign, search_campaigns_by_contact "leads": 12 if "leads" in categories else 0, # +1: delete_lead_list "emails": 6 if "emails" in categories else 0, # +1: mark_thread_as_read "analytics": 3 if "analytics" in categories else 0, "background_jobs": 2 if "background_jobs" in categories else 0, }, "total_tools": sum([ 6 if "accounts" in categories else 0, 8 if "campaigns" in categories else 0, 12 if "leads" in categories else 0, 6 if "emails" in categories else 0, 3 if "analytics" in categories else 0, 2 if "background_jobs" in categories else 0, ]) + 1, # +1 for get_server_info "rate_limit": { "remaining": client.rate_limit.remaining, "limit": client.rate_limit.limit, "reset_at": client.rate_limit.reset_at.isoformat() if client.rate_limit.reset_at else None, }, } return json.dumps(info, indent=2)
  • The decorator that registers the get_server_info tool with the FastMCP server, specifying its name and readOnlyHint annotation.
    @mcp.tool( name="get_server_info", annotations={"readOnlyHint": True}, )

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/bcharleson/instantly-mcp-python'

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