Skip to main content
Glama

agent-observability-mcp

MCPize

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

obs_event_log

Journalise un span d'agent : operation, trace, statut, duree, modele, tokens, cout, attributs libres.

obs_trace_get

Reconstitue la chronologie complete d'une trace : spans ordonnes, duree cumulee, erreurs, tokens, cout.

obs_events_search

Recherche des evenements par projet, operation, type, statut, modele, fenetre temporelle, duree minimale ou texte libre.

obs_metrics_summary

Agrege volume, taux d'erreur, latences p50 / p95 / p99, tokens, cout et top 5 des operations.

obs_anomaly_scan

Signale taux d'erreur anormaux, latences aberrantes, concentration de cout et boucles de retry.

obs_projects_list

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.js

Connect via MCPize

Use this MCP server instantly with no local installation:

npx -y mcpize connect @contact.agentia1984/agent-observability --client claude

Or 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.js

Le 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

TRANSPORT

stdio (defaut) ou http

Choix du transport MCP.

PORT

entier

Port d'ecoute en mode HTTP.

OBS_MAX_EVENTS

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 tools
obs_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.

ParametersJSON Schema
NameRequiredDescriptionDefault
depuisNoDate ISO 8601 de debut de fenetre.
projectNoRestreindre a un projet.
min_samplesNoNombre minimal d'appels pour juger une operation.
latency_factorNoMultiple de la mediane globale au-dela duquel un p95 est signale.
response_formatNoFormat de sortie. 'markdown' pour lecture humaine, 'json' pour traitement programmatique.markdown
error_rate_thresholdNoSeuil de taux d'erreur, entre 0 et 1. Defaut 0.1.

TDQS

A3.7/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
kindNoType d'operation instrumentee.other
nameYesNom de l'operation, ex: 'llm.chat', 'tool.search_web', 'retriever.query'.
modelNoModele utilise, ex: 'claude-sonnet-4', 'gpt-4o-mini'.
statusNoIssue de l'operation.ok
projectNoNom du projet ou de l'application. Defaut : 'default'.
span_idNoIdentifiant du span. Genere automatiquement si absent.
cost_usdNoCout de l'appel en dollars.
trace_idNoIdentifiant de la trace. Genere automatiquement si absent.
attributesNoMetadonnees libres : utilisateur, version, tags, etc.
started_atNoDate de debut au format ISO 8601. Defaut : maintenant.
duration_msNoDuree de l'operation en millisecondes.
input_tokensNoNombre de tokens en entree.
error_messageNoMessage d'erreur si le statut n'est pas 'ok'.
output_tokensNoNombre de tokens en sortie.
parent_span_idNoIdentifiant du span parent, pour reconstituer l'arborescence.
response_formatNoFormat de sortie. 'markdown' pour lecture humaine, 'json' pour traitement programmatique.markdown

TDQS

A3.6/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness2/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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_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.

ParametersJSON Schema
NameRequiredDescriptionDefault
kindNoRestreindre a un type d'operation.
depuisNoDate ISO 8601 de debut de fenetre.
jusquaNoDate ISO 8601 de fin de fenetre.
projectNoRestreindre a un projet.
response_formatNoFormat de sortie. 'markdown' pour lecture humaine, 'json' pour traitement programmatique.markdown

TDQS

A4/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
response_formatNoFormat de sortie. 'markdown' pour lecture humaine, 'json' pour traitement programmatique.markdown

TDQS

A3.8/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
projectNoRestreindre a un projet precis.
trace_idYesIdentifiant de la trace a inspecter.
response_formatNoFormat de sortie. 'markdown' pour lecture humaine, 'json' pour traitement programmatique.markdown

TDQS

A4.3/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

  1. 6 tool updatesv1.0.0
    • First observedobs_anomaly_scan
    • First observedobs_event_log
    • First observedobs_events_search
    • First observedobs_metrics_summary
    • First observedobs_projects_list
    • First observedobs_trace_get

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: retrieving traces, logging events, searching events, aggregating metrics, scanning anomalies, and listing projects. No overlap in functionality.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness5/5

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

ActivitySlowing
ResponsivenessSyncing

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

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    MCP-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.
    9
    129
    9
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server that gives AI agents access to your application's OpenTelemetry traces for querying, analysis, and debugging.
    5
    16
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    An 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.
    6
    MIT

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/AgentIA1984-cmd/agent-observability-mcp'

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