MCP server for DGIdb (Drug Gene Interaction database) providing tools for searching and executing queries against biomedical APIs
This MCP server exposes 5 tools for bioinformatics API discovery and code execution, but suffers from significant definition quality gaps. Tool naming is inconsistent (mix of verb_noun like 'execute' and compound forms), descriptions vary wildly in depth, and parameter schemas are visible but descriptions are sparse. The server appears to be a Cloudflare Workers-based service (wrangler in package.json) that wraps dynamic code execution in sandboxed V8 isolates. Core issues: (1) Naming inconsistency, 'createExecuteTool', 'createOpenApiSearchTool', 'createGraphqlExecuteTool', 'createSparqlExecuteTool' are function names, not tool names registered to agents. The actual tool names exported are unclear from the provided source. (2) Parameters lack inline descriptions in many cases, the 'code' parameter in execute tools has a description, but context around workspace handling, execution safety, and output format is vague. (3) Output schemas are completely undocumented, no description of what these execution tools return, what fields to expect, how errors are formatted. (4) Error handling is silent, no error recovery guidance visible in descriptions. (5) Security concerns are acute but underdiscussed, executing arbitrary JavaScript in sandboxed V8 is powerful but risky; no mention of guardrails, timeouts, or output limits in tool descriptions.
Search the API catalog (legacy mode). The tool accepts query/category/max_results parameters and performs keyword-based search over the static ApiCatalog. Returns matching endpoints with full parameter docs.
Create an execute tool registration object. Uses DynamicWorkerExecutor to run user code in a sandboxed V8 isolate with API proxy helpers, catalog search helpers, and console.log capture. Supports both legacy API catalogs and OpenAPI specs.
Create a GraphQL execute tool for Code Mode. Uses DynamicWorkerExecutor to run user code in a sandboxed V8 isolate with GraphQL query execution, schema introspection helpers, and optional REST API capability.
Create a search tool in OpenAPI mode. The tool accepts agent-written JavaScript code that runs with the full resolved OpenAPI spec and helper functions (searchPaths, listTags, getOperation, describeOperation) available for discovering endpoints.
Create a SPARQL execute tool for Code Mode. Uses DynamicWorkerExecutor to run user code in a sandboxed V8 isolate with SPARQL query execution (SELECT/CONSTRUCT/DESCRIBE/ASK), common ontology prefix maps, and endpoint shape introspection.
Output schemas completely undocumented for 4 of 5 tools (all execute/search tools except catalog search)
Tool action names inferred, not explicitly visible in source, actual registered names unknown
Execution tools lack safety/timeout documentation; arbitrary code execution is high-risk
No error recovery guidance in tool descriptions
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 35 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 31 | - | v1 |
Parameter descriptions missing or vague for 'code' in execute tools, size limits, allowed operations not specified
Naming inconsistency: execute tools lack action verb, 'execute' is too generic; no distinction between REST, GraphQL, SPARQL modes
OpenApiSearchTool description mixes search and code execution concerns; unclear when to use it vs. basic execute
Legacy parameters (query, category, max_results) present in OpenApiSearchTool but are optional and marked 'legacy', indicates API versioning confusion