Exposes the BrainKB query_service API as MCP tools so an assistant can authenticate with credentials, ingest knowledge-graph data, read/search graphs, query W3C PROV-O provenance, and check ingest job status.
BrainKB MCP has 15 tools with consistent naming (verb_noun pattern: brainkb_*) and descriptions present for all tools. However, parameter descriptions are minimal or absent for most tools. Input schemas are visible but lack detail: most parameters have only type and description, missing constraints like enums, min/max bounds, or format specifications. Output schemas are not documented. Error handling guidance is absent. The server handles sensitive operations (login, token management, ingest) but lacks explicit permission gates and audit trail documentation.
Create a new Personal Access Token for the authenticated user.
Get metadata and statistics for a specific knowledge graph.
Get the status and details of a specific ingest job.
Authenticate with BrainKB using Globus OAuth.
Ingest RDF files from the server filesystem into a knowledge graph.
Ingest RDF/Turtle data into a knowledge graph.
List all knowledge graphs accessible to the authenticated user.
Output schemas not documented. LLMs cannot infer what fields to expect from tool responses, forcing them to guess at downstream field names and risk broken tool chains.
Parameter constraints missing. No enums for format (turtle|rdfxml|ntriples|jsonld), no min/max for limit/offset, no regex patterns for token/graph_id. LLMs will hallucinate invalid values.
No error handling guidance. Tools lack recovery hints (e.g., 'If authentication fails, call brainkb_login first'). Agents cannot self-correct on failures.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 48 | 2026-07-28+ | v2 |
List ingest jobs for the authenticated user.
Authenticate with BrainKB using email and password (browser-based OAuth flow for Globus or local accounts).
Clear the cached session token.
Query W3C PROV-O provenance information for entities in a knowledge graph.
Execute a SPARQL query against a knowledge graph.
Search knowledge graphs by name or description.
Set a Personal Access Token (brainkb_pat_...) for authentication without login.
Get the current authenticated user's identity.
Sensitive operations (login, token creation, ingest) lack explicit permission gates and audit trail documentation. No indication of what permissions are required or how actions are logged.
Pagination not fully specified. brainkb_list_graphs and brainkb_list_ingest_jobs accept limit/offset but no documentation of total count, next_cursor, or max result size. LLMs cannot plan pagination.