Skip to main content
Glama
alanzha2

observe-instrument-mcp

by alanzha2

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LLM_MODELNoModel to use (default: claude-sonnet-4-6)
GROQ_API_KEYNoRequired for Groq models
GEMINI_API_KEYNoRequired for Google Gemini models
OPENAI_API_KEYNoRequired for OpenAI models
ANTHROPIC_API_KEYNoRequired for Anthropic models

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
instrument_agentA

Read a Python AI agent file, add ioa-observe-sdk instrumentation, and write it back.

Adds Observe.init(), SDK imports, @tool/@agent/@graph/@workflow decorators, and session_start() — covering LlamaIndex, LangGraph, CrewAI, and raw OpenAI SDK agents. Creates a .bak backup before modifying the file.

Args: file_path: Path to the Python file to instrument. app_name: Optional app name for Observe.init(). Inferred from file if omitted.

Returns: Summary of all changes made, the diff, and next steps.

check_instrumentationA

Audit a Python AI agent file for missing ioa-observe-sdk instrumentation.

Read-only — does not modify the file. Use instrument_agent to apply changes.

Args: file_path: Path to the Python file to audit.

Returns: Audit report: what is present, what is missing, and specific recommendations.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/alanzha2/observe-instrument-mcp'

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