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

dangernoodle-io / ouroboros / 24406381185
81%

Build:
DEFAULT BRANCH: main
Ran 14 Apr 2026 03:00PM UTC
Jobs 1
Files 22
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

14 Apr 2026 03:00PM UTC coverage: 72.671% (+0.3%) from 72.39%
24406381185

push

github

web-flow
refactor: correct mcp tool annotations and trim footprint (#22)

- set readOnlyHint on get/search/export
- set destructiveHint+idempotentHint on delete
- set idempotentHint on put and config
- leave wrong mcp-go defaults off all other hint fields
- tools/list annotation block shrinks for every tool

Previously, mcp.NewTool hard-wired all four hint fields to non-nil
pointers (readOnlyHint:false, destructiveHint:true, idempotentHint:false,
openWorldHint:true). This was semantically wrong (e.g. read tools should
not have destructiveHint:true) and bloated tools/list by ~250 tokens.

Now we pass mcp.WithToolAnnotation with only the fields we want set, so
the others remain nil and drop from JSON via omitempty. For read tools,
the annotation block collapses from 4 fields to 1. For write tools,
destructiveHint and openWorldHint drop entirely.

Extended TestToolsListFootprint to assert that each tool's annotation
structure contains only expected fields — this is the correctness gate.

Snapshot updated: tools/list was 1065 tokens, now 875 tokens.
Session constant cost drops from 1484 to 1294 tokens.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

1287 of 1771 relevant lines covered (72.67%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24406381185.1 14 Apr 2026 03:00PM UTC 22
72.67
GitHub Action Run
Source Files on build 24406381185
  • Tree
  • List 22
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24406381185
  • d3756e28 on github
  • Prev Build on main (#24404850440)
  • Next Build on main (#24412059475)
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