Add relic catalog tools for relic-stat issue planning #3
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/spirelens-mcp#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Add relic-aware catalog support to the SpireLens MCP bridge so issue-agent planning can resolve relic identities the same way it already resolves cards.
This is the blocker exposed by the failed Pen Nib test run: the planner correctly discovered that Pen Nib is not a card, but then had no
lookup_relic,list_relics, or relic validation metadata to continue.Proposed MCP additions
lookup_reliclist_relicsrelic_countinget_catalog_summary.get_validation_capabilities, at minimum:player_relic_barrelic_selecttreasurelookup_relicandlist_relics.relics,add_relics, orremove_relics.Implementation notes
A scratch draft exists in
D:\automation\scratch\relic-mcp-supportwith changes to:McpMod.Catalog.csmcp/server.pyThe draft follows the existing card catalog shape:
lookup_relic(query, max_matches=10)returnsstatus,kind=relic,match_count,matches, andrelicwhen exactly one match exists.list_relics(rarity=None, query=None, limit=50)returnsstatus, echoed filters,count, andrelics[]withid,name,rarity, anddescription.get_game_stateplus screenshots of supported visible relic surfaces.Acceptance
lookup_relic("Pen Nib")resolves the real Pen Nib relic id from the live STS2 model catalog.list_relics(query="nib")includes Pen Nib.get_catalog_summaryincludes a nonzerorelic_count.get_validation_capabilitiesincludesrelic_surfacesand the two relic catalog tools intools[].python -m py_compile mcp/server.py.Follow-up
After this lands, update the SpireLens issue-agent prompt/tool allowlist so relic-stat issues classify targets as card/relic/mixed and use these MCP tools instead of aborting after
lookup_cardmisses.