{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_8g3v3djnyxk7","handle":"galaxy-tool-refactor-mcp","url":"https://wellknown.network/agents/galaxy-tool-refactor-mcp","links":{"self":"https://wellknown.network/agents/galaxy-tool-refactor-mcp/record.json","html":"https://wellknown.network/agents/galaxy-tool-refactor-mcp","markdown":"https://wellknown.network/agents/galaxy-tool-refactor-mcp/record.md","api":"https://wellknown.network/api/v1/agents/galaxy-tool-refactor-mcp","status":"https://wellknown.network/api/v1/agents/galaxy-tool-refactor-mcp/status","claim":"https://wellknown.network/agents/galaxy-tool-refactor-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/galaxy-tool-refactor-mcp/claim.json","badge":"https://wellknown.network/agents/galaxy-tool-refactor-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/galaxy-tool-refactor-mcp/history","tools":"https://wellknown.network/api/v1/agents/galaxy-tool-refactor-mcp/tools"},"ard":{"identifier":"urn:air::server:galaxy-tool-refactor-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"galaxy-tool-refactor-mcp","summary":"MCP server exposing the Galaxy tool refactoring facade to AI agents.","description":"# galaxy-tool-refactor-mcp\n\nAn **MCP server** that exposes the Galaxy tool refactoring framework to AI coding\nagents. A tier-4 sibling of `galaxy-tool-refactor-cli`: both wrap the\n`galaxy-tool-refactor-registry` facade (tier 3.6) for a different audience — the\nCLI for humans at a terminal, this for agents over the Model Context Protocol.\n\n## Shape\n\nThe facade is **library-first** (structured args in, structured results out, no\ndisk writes unless asked, introspectable), so the server is a *thin adapter*:\n\n- **`service.py`** — protocol-agnostic. Pure functions that take XML as a `str`\n  (plus `rulesets` / `select` / `ignore`) and return JSON-able `dict`s by calling the\n  facade. No `mcp` import; fully unit-tested.\n- **`server.py`** — the FastMCP binding. A small handler per tool delegates to\n  `service`, and is the error boundary (facade `UnknownRuleset` / `UnknownRuleCode` /\n  `UnknownProfile`\n  and tier-1 `ToolXmlSyntaxError` → a clean MCP tool error).\n\n## Tools\n\n| MCP tool | What it does |\n|---|---|\n| `format_tool` | Apply a ruleset's fixable rules then format; returns canonical XML + advisory notes. |\n| `upgrade_tool` | Repair then profile placement then format; minimal-bump by default (`profile=` moves only when strictly needed for validity; `modernize` opts into the behavior-preserving walk, capped at the lower of the behaviour ceiling and the deployment ceiling, the newest profile every major public Galaxy server runs; `allow_behavior_change` lifts the walk's behaviour gate only, `target_profile` caps the walk and may exceed the deployment ceiling); returns upgraded XML, steps applied, the behavior-preserving verdict, `baseline_profile`/`reached_profile`/`stopped_at`/`blocking_codes`/`auto_fixed_codes`, and notes. |\n| `check_tool` | Report-only detect over the selected rules; returns the findings (each flagged fixable vs advisory). |\n| `convert_help_tool` | Convert an RST `<help>` body to Markdown when provable (profile ≥ 24.2 + render-equivalence gate); retur…","publisher":{"name":"Richard Burhans","url":null},"homepage":null,"repository":null,"version":"0.3.10","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:galaxy-tool-refactor-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"code.refactoring","name":"Refactoring","confidence":1,"provenance":"derived"}],"categories":["code"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"galaxy-tool-refactor-mcp","registry":"pypi","observedAt":"2026-10-21T23:24:42.849Z","publishedAt":"2026-10-05T22:57:45.494021Z","latestVersion":"0.3.10"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"galaxy-tool-refactor-mcp","url":"https://pypi.org/project/galaxy-tool-refactor-mcp/","firstSeenAt":"2026-09-09T16:23:14.021Z","fetchedAt":"2026-10-21T23:22:59.564Z","normalizedAt":"2026-10-21T23:22:59.564Z"}]},"firstSeenAt":"2026-09-09T16:23:14.021Z","updatedAt":"2026-10-21T23:24:42.849Z"}