agent-observability-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-observability-mcplog an LLM span with 1000 tokens"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agent-observability-mcp
Serveur MCP (Model Context Protocol) d'observabilite pour agents IA : journalisation des traces et des spans, recherche, metriques de latence, de tokens et de cout, detection d'anomalies.
Aucune base de donnees, aucune cle d'API, aucun service tiers : tout tient dans un tampon memoire configurable.
Outils exposes
Outil | Description |
| Journalise un span d'agent : operation, trace, statut, duree, modele, tokens, cout, attributs libres. |
| Reconstitue la chronologie complete d'une trace : spans ordonnes, duree cumulee, erreurs, tokens, cout. |
| Recherche des evenements par projet, operation, type, statut, modele, fenetre temporelle, duree minimale ou texte libre. |
| Agrege volume, taux d'erreur, latences p50 / p95 / p99, tokens, cout et top 5 des operations. |
| Signale taux d'erreur anormaux, latences aberrantes, concentration de cout et boucles de retry. |
| Liste les projets instrumentes et le remplissage du tampon. |
Chaque outil accepte response_format : markdown ou json.
Related MCP server: otel-mcp
Modele de donnees
Un evenement represente un span : trace_id, span_id, parent_span_id, name, kind (llm, tool, retrieval, agent, http, other), status (ok, error, timeout), duration_ms, model, input_tokens, output_tokens, cost_usd, attributes.
Installation locale
npm install
npm run build
node dist/index.jsConnect via MCPize
Use this MCP server instantly with no local installation:
npx -y mcpize connect @contact.agentia1984/agent-observability --client claudeOr connect at: https://mcpize.com/mcp/agent-observability
Configuration Claude Desktop
{
"mcpServers": {
"agent-observability": {
"command": "node",
"args": ["/chemin/vers/agent-observability-mcp/dist/index.js"]
}
}
}Deploiement heberge (HTTP Streamable)
TRANSPORT=http node dist/index.jsLe serveur ecoute sur 0.0.0.0 et lit process.env.PORT (8083 par defaut). Endpoints : POST /mcp, POST / et GET /health.
Variables d'environnement
Variable | Valeur | Role |
|
| Choix du transport MCP. |
| entier | Port d'ecoute en mode HTTP. |
| entier, defaut 5000 | Taille du tampon circulaire d'evenements. |
Limites connues
Le stockage est en memoire : les evenements sont perdus au redemarrage et ne sont pas partages entre plusieurs instances. Pour un usage longue duree, journalisez en parallele vers votre propre entrepot.
Licence
MIT.
Available Tools
6 toolsobs_anomaly_scanDetecter les anomalies d'executionA
Analyse les evenements pour signaler les operations dont le taux d'erreur depasse un seuil, les latences p95 aberrantes, les operations qui concentrent le cout et les boucles de retry dans une meme trace. Chaque anomalie est classee en info, warning ou critical.
| Name | Required | Description | Default |
|---|---|---|---|
| depuis | No | Date ISO 8601 de debut de fenetre. | |
| project | No | Restreindre a un projet. | |
| min_samples | No | Nombre minimal d'appels pour juger une operation. | |
| latency_factor | No | Multiple de la mediane globale au-dela duquel un p95 est signale. | |
| response_format | No | Format de sortie. 'markdown' pour lecture humaine, 'json' pour traitement programmatique. | markdown |
| error_rate_threshold | No | Seuil de taux d'erreur, entre 0 et 1. Defaut 0.1. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries the burden. It discloses types of anomalies (error rate, latency, cost, retry loops) and severity classification, but does not mention if the tool is read-only, auth needs, rate limits, or side effects. Adequate but not comprehensive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Description is a single sentence with a bullet list, front-loading the purpose and types of anomalies. No redundant information. Efficient for its length.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 6 parameters and no output schema, the description covers the tool's purpose and anomaly types but lacks details on output structure or how to interpret results. The response_format parameter hints at formats but not explained.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% (all parameters have descriptions). The tool description adds context about anomaly detection logic but does not provide additional parameter-level semantics beyond the schema. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the tool analyzes events to detect multiple types of anomalies (error rate, latency, cost, retry loops) and classifies them by severity. It distinguishes from siblings like obs_event_log (basic logging) and obs_metrics_summary (metrics) by specifying unique detection logic.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains what anomalies are detected but does not explicitly state when to use this tool instead of siblings (e.g., obs_events_search for specific events, obs_metrics_summary for summary stats). No when-not-to-use guidance is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
obs_event_logJournaliser un evenement d'agentA
Enregistre un span d'execution d'agent IA : appel de modele, appel d'outil, recherche documentaire ou etape interne. Conserve la trace, la duree, le statut, les tokens et le cout pour permettre ensuite la recherche, les metriques et la detection d'anomalies.
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Type d'operation instrumentee. | other |
| name | Yes | Nom de l'operation, ex: 'llm.chat', 'tool.search_web', 'retriever.query'. | |
| model | No | Modele utilise, ex: 'claude-sonnet-4', 'gpt-4o-mini'. | |
| status | No | Issue de l'operation. | ok |
| project | No | Nom du projet ou de l'application. Defaut : 'default'. | |
| span_id | No | Identifiant du span. Genere automatiquement si absent. | |
| cost_usd | No | Cout de l'appel en dollars. | |
| trace_id | No | Identifiant de la trace. Genere automatiquement si absent. | |
| attributes | No | Metadonnees libres : utilisateur, version, tags, etc. | |
| started_at | No | Date de debut au format ISO 8601. Defaut : maintenant. | |
| duration_ms | No | Duree de l'operation en millisecondes. | |
| input_tokens | No | Nombre de tokens en entree. | |
| error_message | No | Message d'erreur si le statut n'est pas 'ok'. | |
| output_tokens | No | Nombre de tokens en sortie. | |
| parent_span_id | No | Identifiant du span parent, pour reconstituer l'arborescence. | |
| response_format | No | Format de sortie. 'markdown' pour lecture humaine, 'json' pour traitement programmatique. | markdown |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries full burden. It explains the tool persists data (trace, duration, status, tokens, cost) for later analysis. However, it does not disclose side effects, authentication needs, rate limits, or whether it's safe to call multiple times. Adequate but not thorough.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, concise and front-loaded: first explains what it does, second explains the benefit. No wasted words. Length is appropriate for the complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Tool has 16 parameters but no output schema. Description does not explain what the tool returns (e.g., success indication, span ID, or error). Also does not clarify the 'response_format' parameter or how the nested 'attributes' object works. Given the parameter count and complexity, more detail is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% (all 16 parameters have descriptions), so baseline is 3. The description adds context by listing operation types (model call, tool call, etc.) which align with the 'kind' enum. No additional detail beyond the schema, but no omission either.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool logs spans of AI agent execution (model calls, tool calls, retrieval, internal steps). It distinguishes itself from sibling tools like obs_trace_get, obs_events_search, etc., which are for querying/analyzing, not logging.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use (when recording events), but does not explicitly state when not to use or mention alternative sibling tools. Usage context is implicit, not directive.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
obs_events_searchRechercher des evenements d'agentsA
Recherche les evenements journalises en combinant projet, operation, type, statut, modele, fenetre temporelle, duree minimale et texte libre. Renvoie les evenements les plus recents en premier, pour investiguer une erreur ou un pic de latence.
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Type d'operation. | |
| name | No | Nom exact de l'operation. | |
| limit | No | Nombre maximum d'evenements retournes, 1 a 100. | |
| model | No | Modele utilise. | |
| depuis | No | Date ISO 8601 de debut de fenetre. | |
| jusqua | No | Date ISO 8601 de fin de fenetre. | |
| status | No | Statut recherche. | |
| project | No | Nom du projet. | |
| contains | No | Texte recherche dans le nom, l'erreur ou les attributs. | |
| min_duration_ms | No | Duree minimale en millisecondes. | |
| response_format | No | Format de sortie. 'markdown' pour lecture humaine, 'json' pour traitement programmatique. | markdown |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so the description carries the full burden. It mentions sorting by most recent first but does not disclose other behaviors like pagination, rate limits, or destructive potential. For a search tool, basic behavior is covered.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with purpose and filters, no wasted words. Efficient and clear.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Adequate for a search tool with 11 parameters and no output schema, but could mention return format or pagination. The description provides enough context for basic use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all parameters. The description adds no parameter-specific details beyond the schema, meeting the baseline for high coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool searches logged events with multiple filters and returns recent ones first, for investigating errors or latency spikes. It distinguishes from sibling tools by specifying a broad search capability.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides a clear use case (investigating errors/latency spikes) but does not explicitly mention when not to use it or list alternatives. However, the context and sibling names imply differentiation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
obs_metrics_summaryCalculer les metriques d'execution des agentsA
Agrege les evenements journalises sur une fenetre donnee : volume, nombre de traces, taux d'erreur, latences moyenne, p50, p95 et p99, tokens consommes, cout total et classement des cinq operations les plus appelees.
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Restreindre a un type d'operation. | |
| depuis | No | Date ISO 8601 de debut de fenetre. | |
| jusqua | No | Date ISO 8601 de fin de fenetre. | |
| project | No | Restreindre a un projet. | |
| response_format | No | Format de sortie. 'markdown' pour lecture humaine, 'json' pour traitement programmatique. | markdown |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It describes aggregation but does not explicitly state read-only nature, performance implications, or any constraints. The verb 'Agrege' suggests read-only, but it is not definitive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single efficiently constructed sentence that front-loads the primary action and enumerates the computed metrics. No redundant or extraneous content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 5 fully described parameters and no output schema, the description compensates by listing key output metrics. However, it lacks details on response_format behavior or constraints like window limits, which would improve completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so parameters are well-documented. The description adds significant value by listing the output metrics (volume, error rate, latencies, etc.) that are not in the input schema, helping the agent understand what the tool computes.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it aggregates logged events over a time window and lists specific metrics (volume, traces, error rate, latencies, tokens, cost, top operations). It distinguishes itself from sibling tools like obs_trace_get and obs_events_search, which are for individual traces or event queries.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for aggregate metrics but does not explicitly state when to use this tool versus alternatives like obs_events_search or obs_anomaly_scan. No exclusion or prerequisite guidance is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
obs_projects_listLister les projets instrumentesA
Liste les projets presents dans le tampon d'evenements avec leur volume, leur nombre de traces, leur nombre d'erreurs et la date du dernier evenement recu, ainsi que le taux de remplissage du tampon.
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | Format de sortie. 'markdown' pour lecture humaine, 'json' pour traitement programmatique. | markdown |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The disclosure is adequate for a read-only list operation, listing returned fields. No annotations exist, so the description should explicitly state side effects (none) or other behaviors, but it only describes output. It does not confirm idempotency or lack of 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no fluff, efficiently conveying the tool's purpose and output fields.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple list tool with one parameter and no output schema, the description provides sufficient detail on returned fields. It could mention the output structure (list of projects) but is otherwise complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for the single parameter (response_format), with clear enum choices. The tool description adds no extra meaning beyond the schema; baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'Liste' (lists) and resource 'projets' (projects), clearly stating the data fields returned (volume, traces, errors, date, fill rate). It distinguishes from sibling tools like obs_trace_get or obs_event_log by focusing on aggregated project-level metrics.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for listing project summaries but does not explicitly state when to use this tool versus alternatives. No exclusions, prerequisites, or when-not-to-use guidance is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
obs_trace_getAfficher la chronologie d'une traceA
Reconstitue la chronologie complete d'une trace d'agent a partir de son identifiant : spans ordonnes, duree cumulee, statuts, tokens et cout. Utile pour comprendre pourquoi une execution a echoue ou a ete lente.
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Restreindre a un projet precis. | |
| trace_id | Yes | Identifiant de la trace a inspecter. | |
| response_format | No | Format de sortie. 'markdown' pour lecture humaine, 'json' pour traitement programmatique. | markdown |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It correctly conveys the read-only nature and the type of data returned, but does not explicitly state that it is non-destructive or mention any permissions required.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, no unnecessary words. First sentence defines the action and output, second sentence states the use case. Highly efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 3 parameters, no output schema, the description compensates well by describing the content of the response. All sibling tools are distinct, and the description is complete enough for an agent to understand when and how to use this tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds value by explaining what the output contains (spans, duration, statuses, tokens, cost), giving deeper meaning to the trace_id parameter, though it could elaborate on response_format and project filtering.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the tool reconstructs the full timeline of an agent trace, listing specific components (spans, duration, statuses, tokens, cost). It distinguishes itself from sibling tools like obs_events_search or obs_metrics_summary which focus on different aspects.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly mentions it is useful for understanding why an execution failed or was slow, providing clear context. However, it does not provide explicit when-not-to-use or direct comparisons to alternatives.
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.
6 tool updates
v1.0.0- First observed
obs_anomaly_scan - First observed
obs_event_log - First observed
obs_events_search - First observed
obs_metrics_summary - First observed
obs_projects_list - First observed
obs_trace_get
TDQS
Each tool has a clearly distinct purpose: retrieving traces, logging events, searching events, aggregating metrics, scanning anomalies, and listing projects. No overlap in functionality.
All tools follow the pattern 'obs_<resource>_<action>' with consistent verb-noun structure (e.g., obs_trace_get, obs_event_log, obs_events_search). The prefix 'obs_' unifies the set.
Six tools is well-scoped for an observability server. Each tool addresses a core need (logging, retrieval, search, metrics, anomalies, project overview) without excess or deficiency.
The set covers the full lifecycle of agent observability: event creation, trace retrieval, search, metric aggregation, anomaly detection, and project listing. Missing operations like deletion are non-essential for an append-only observability system.
Maintenance
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
- SpanlyOAuthcom.spanly
MCP observability. Query live traffic, errors, duration, and alerts from your AI agent.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Cloud hosted Okahu MCP server that helps you manage genAI trace data
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP-native agent evaluation and observability server. Log traces, evaluate output quality with 12 built-in rules (PII detection, prompt injection, cost thresholds), and track agent costs. Real-time dashboard, OTel-compatible spans. Self-hosted, MIT licensed.91299MIT
- AlicenseAqualityDmaintenanceMCP server that gives AI agents access to your application's OpenTelemetry traces for querying, analysis, and debugging.5162MIT
- AlicenseAqualityBmaintenanceAn MCP server that provides cost and reliability observability for LLM and agent workflows. It records model calls and allows querying and aggregating telemetry data through MCP tools.6MIT
- AlicenseNot gradedqualityDmaintenanceProvides unified AI agent observability including tracing, cost tracking, performance monitoring, anomaly detection, and audit trails via MCP.55MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/AgentIA1984-cmd/agent-observability-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server