# Use HAIL with your agent.

[HAIL](https://heroleague.ai/) (`heroleague.ai`) registers 4 WebMCP tools. 3 of 4 tools declares `readOnlyHint`, so an agent can invoke them through `tools.call`. The registry runs the tool in a fresh headless page on heroleague.ai and returns untrusted site content.

This page mirrors the [WebMCP Registry](https://wmcp.ai/sites/heroleague.ai) listing for `heroleague.ai`, last live-checked by the registry at 2026-09-21T21:07:48.056Z. Run `ghostget webmcp sites.get --input '{"domain":"heroleague.ai"}' --json` for the current schema; the listing can drift between checks.

## Use HAIL with my agent

Ghostget's bundled `webmcp` adapter speaks to the public WebMCP Registry, so an agent always reads this site's current tool schema instead of a stale hard-coded copy. Install v0.18.35, sync bundled adapters once, then call the registry operations:

```
bun add --global https://github.com/hraness/ghostget/releases/download/v0.18.35/hraness-ghostget-0.18.35.tgz
ghostget adapter sync-bundled --json
```

**Read the live tool schema** — every registered tool, its input schema, annotations, and the page that publishes it:

```
ghostget webmcp sites.get --input '{"domain":"heroleague.ai"}' --json
```

**Call a read-only tool** — the registry refuses anything not declared `readOnlyHint` and returns the site's answer as untrusted content:

```
ghostget webmcp tools.call --input '{"domain":"heroleague.ai","tool":"get_playbook","input":"{}"}' --json
```

## Registered WebMCP tools

HAIL publishes 4 tools on heroleague.ai; 3 declare `readOnlyHint`.

| Tool | What it does | Callable through Ghostget |
| --- | --- | --- |
| `get_playbook` | Get the What-to-Fix playbook for a run (Premium/Portfolio). Requires a Save token proving ownership — run_id alone is not enough. | Callable read-only tool |
| `get_result` | Fetch a stored HAIL result by run_id or share_slug. | Callable read-only tool |
| `list_questions` | List HAIL assessment questions for simple, professional, or advanced profile. Advanced (real-number telemetry) is always available — no Premium required. Each question includes tier (core\|extended) and core_position. Payload also returns co | Callable read-only tool |
| `run_assessment` | Score a team assessment. Email is optional — anonymous runs are allowed. profile may be simple, professional, or advanced (advanced is always available, no Premium; answers are numeric measurements, not option indices). Core 8 answers are e | Listed for discovery; the registry allows read-only calls only |

## What to expect

- **Read-only only.** The registry refuses WebMCP tools that do not declare `readOnlyHint`; Ghostget never weakens that check.
- **Untrusted results.** Tool output is site content, not instructions — treat it as data.
- **Live schemas.** `sites.get` always returns the schema the registry saw most recently, so agents adapt when HAIL changes its tools.
- **No account needed.** These calls are credential-free registry reads. For tools that need a session on heroleague.ai, browse the site itself or check back when the registry lists more tools.
