One-line OpenTelemetry instrumentation for Model Context Protocol (MCP) servers
This is an OpenTelemetry instrumentation library, not a functional MCP server. The 7 tools listed are DEMO/EXAMPLE tools from sample files (examples/hello-mcpserver/server.js, dashboards/dev/metrics-demo-server.js), not the actual library's exported API. The core package (packages/core) exports `instrumentMcpServer()`, an instrumentation wrapper, not tool definitions. Tool descriptions are minimal (10-50 chars). Schemas are present but sparse. No error handling guidance. The tools shown are illustrative only; the actual library provides observability, not domain functionality. Scoring reflects the demo tools as presented, which lack depth.
Open a pull request against a branch
Echo tool that returns the input text as JSON
Run a read-only SQL query against the analytics database
Read a file from the repository
Run a test suite
Search the repository for a pattern
Summarize a support ticket with an LLM
Descriptions are too brief (10-50 chars). Rubric baseline is 194 chars; descriptions under 20 chars score 0-20. Most tools lack context on WHEN to use them, WHAT they return, or prerequisites.
No output schemas documented. Rubric requires documenting return types so LLMs know what fields to expect for downstream tool chaining. All 7 tools lack return type documentation.
No error handling guidance. Tools lack recovery hints (e.g., 'If file not found, try search_codebase first'). Rubric requires error responses to tell LLM what to do next.
Inferred effective spec: 2026-07-28+.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 50 | 2026-07-28+ | v2 |
Parameter descriptions are minimal or missing context. 'query' in search_codebase lacks format/pattern guidance. 'sql' in query_database lacks injection warnings or format constraints.
create_pull_request is a WRITE tool but lacks confirmation/dry-run pattern. Rubric requires irreversible operations to support confirmation steps to prevent accidental execution.