• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

informatics-isi-edu / deriva-mcp-core / 23942345389
91%

Build:
DEFAULT BRANCH: main
Ran 03 Apr 2026 09:58AM UTC
Jobs 1
Files 37
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Apr 2026 09:57AM UTC coverage: 90.802% (+0.04%) from 90.765%
23942345389

push

github

mikedarcy
  Add MCP guide prompts, trim tool docstrings, and reduce log noise

  Introduce tools/prompts.py with four built-in MCP prompts (query_guide,
  entity_guide, annotation_guide, catalog_guide) containing behavioral
  guidance for LLM tool usage: ERMrest path syntax, join patterns,
  preflight count rules, empty-result handling, display rules, annotation
  context names, and catalog snaptime format.

  Trim docstrings in entity.py, query.py, catalog.py, and annotation.py
  to reference the guide prompts instead of carrying full behavioral
  guidance inline -- reduces per-tool-call token cost.

  Guide prompts include strong directives for common LLM failure modes:
  - "USE THE SCHEMA CONTEXT" -- do not call get_schema to re-explore
  - "STOP -- USE THE RIGHT TOOL" -- use query_attribute joins, not N+1
    get_entities calls across individual tables
  - "EMPTY RESULTS ARE VALID" -- zero rows is a complete answer, do not
    reformulate or investigate intermediate tables
  - "DISPLAY RULES (MANDATORY)" -- never drop columns or truncate values

  Add server instructions via FastMCP constructor so MCP clients receive
  tool-group guidance at init time. Register prompts module in server.py.

  Suppress noisy per-request log lines: demote verifier "Authenticated"
  to DEBUG (already in audit log), suppress mcp.server.streamable_http
  "Terminating session: None" at WARNING level.

  Update gap_analysis.md and workplan-deriva-mcp-core.md

25 of 26 new or added lines in 3 files covered. (96.15%)

2547 of 2805 relevant lines covered (90.8%)

0.91 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.24
src/deriva_mcp_core/tools/prompts.py
Jobs
ID Job ID Ran Files Coverage
1 23942345389.1 03 Apr 2026 09:58AM UTC 37
90.8
GitHub Action Run
Source Files on build 23942345389
  • Tree
  • List 37
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f1d5db96 on github
  • Prev Build on main (#23920569471)
  • Next Build on main (#23942815427)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc