This MCP server provides 9 BLAST tools with adequate but inconsistent schema definitions. Tool schemas are present and mostly well-formed (JSON Schema with proper types and enums), but descriptions are generic and lack LLM-optimization. Parameters have descriptions but are often minimal (under 50 chars). Critical issues: (1) No output schemas documented, LLMs cannot plan downstream tool calls or extract required fields. (2) No parameter descriptions for optional fields in async tools (e.g., 'notification_email' in blastn_async has no context on format or purpose). (3) Duplicate tool definitions across multiple files (blastn/blastp in server.py, blastp_async in blast_with_queue.py, makeblastdb_async in blast_with_queue.py) suggest incomplete refactoring and inconsistent tool registration, unclear which version is actually registered. (4) Tool descriptions are factual but lack actionable guidance ('Nucleotide-nucleotide BLAST search', WHEN to use it? What data format? What does it return?). (5) Error handling is not visible in the provided source snippets. (6) No job queue/async state management visible in the call_tool implementation (incomplete in the snippet). Per-tool analysis: blastn/blastp/makeblastdb have clean, constrained inputs (enums for output_format, dbtype) but lack guidance on FASTA format requirements, database lookup semantics, or result structure. Async tools (blastn_async/blastp_async/makeblastdb_async/get_job_status/get_job_result/cancel_job) lack consistent parameter documentation and no output schema is visible. The job_id parameter is never described (what format? string UUID? numeric?). Overall: solid technical foundation but poor LLM ergonomics.
Nucleotide-nucleotide BLAST search
Submit nucleotide BLAST search as background job
Protein-protein BLAST search
Protein BLAST search
Cancel BLAST job
Retrieve results of completed job
Check status of async job
Create a BLAST database from FASTA file
No output schemas documented. LLMs cannot infer what fields will be returned (e.g., does blastn return 'matches' or 'hits'? 'score' or 'bitscore'?). This forces agents to hallucinate field names or fail at extracting results. Every tool should document its response structure.
Tool definitions appear duplicated across src/server.py, src/async_extensions.py, and src/blast_with_queue.py with inconsistent registration. Tool registration in call_tool() is incomplete in the provided snippet (ends mid-line). Unclear which tools are actually exposed or how duplicates are resolved.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 44 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 19 | - | v1 |
Create BLAST database
Descriptions are factual but lack LLM-optimization. 'Nucleotide-nucleotide BLAST search' (30 chars) tells WHAT but not WHEN, WHY, or WHAT TO EXPECT. Optimal: 50 - 200 chars explaining intent, prerequisites, and output structure. E.g., 'Search a query DNA sequence against a BLAST database. Requires FASTA file or raw sequence. Returns top matches with E-values and alignment scores sorted by significance.'
'query' parameter in blastn/blastp accepts 'Path to query FASTA file or sequence string' but no format guidance. LLMs may pass invalid formats (plain text, CSV). Should specify: 'FASTA format file path or raw sequence (e.g., >seq1\nACGT). If passing raw sequence, max length 10000bp.' Also unclear: does tool accept file paths or raw data? Both? One only?
'database' parameter similarly vague: 'Path to BLAST database or name of NCBI database'. No guidance on which is preferred, lookup semantics, or error cases. If path: absolute or relative? If NCBI name: which version? What if not found? Should document: 'Local database path (absolute) or NCBI identifier (e.g., nr, nt, refseq_protein). Local takes precedence if exists.'
'job_id' parameter in get_job_status, get_job_result, cancel_job has no description in the input schema. What format? String UUID? Integer? Returned from which tool? Should document: 'UUID string returned by blastn_async, blastp_async, or makeblastdb_async. Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
'notification_email' in blastn_async has no description. Is it optional or required for job tracking? What happens if omitted? Will job results be lost? Email format constraints? Should document: 'Optional. Valid email address to notify upon job completion. If omitted, use get_job_status() to poll manually.'
No error handling visible in provided code. If a database is not found, BLAST times out, or a job is already completed, what does the tool return? LLMs need: error classification (retryable vs. user-fixable), actionable recovery guidance, and invalid value feedback. Pattern missing: recovery-guide.
Async job tools lack idempotency guidance. If get_job_result() is called twice for the same job_id, does it return the same result or error? Can cancel_job() be called on a completed job? Should document: 'Idempotent. Returns same result on repeated calls. Canceling an already-completed job returns success with no side effects.'
No composition guidance. How do async tools chain? Does blastn_async return a job_id that get_job_result() consumes? Is the output format of get_job_result() identical to blastn's output, or different? Without this, agents must guess or trial-and-error.