# Test the connection · first calls

A connection works when it has both read from Xale and saved something. Xale's starter message does both: read today, save a Note, and say where it is.

Checked 2026-12-02 · https://xale.app/docs/ai/test-the-connection-first-calls

## First calls

| Call | What to check |
| --- | --- |
| `initialize` | You get `instructions`; read them. On a new connection, or while the person hasn't told Xale how they use it, they end with an offer of two starter messages, to make once early in the chat. |
| `tools/list` | The tools match the scopes the person kept. See [Scopes](https://xale.app/docs/ai/scopes-what-each-allows). |
| `ping` | Answers `{}`. |
| `prompts/list` | The first two prompts are the starter messages: [`test_my_connection`](https://xale.app/docs/ai/test-my-xale-connection-prompt) and [`tell_xale_how_i_use_it`](https://xale.app/docs/ai/tell-xale-how-i-use-it-prompt). |

## The test message

The prompt [`test_my_connection`](https://xale.app/docs/ai/test-my-xale-connection-prompt) is the message the person sends:

```text
Test my Xale connection: tell me what's on today, then save a Note called 'Hello from Claude' and tell me where to find it.
```

The app's name is Claude, ChatGPT or Grok when the connection is one of those, and “your AI” otherwise. To answer it:

1. `xale_read_today`, and tell the person what's on.
2. `xale_save_note` with a new `requestId`:

```json
{ "markdown": "# Hello from Claude\n\nThis Note was saved by Claude to test the Xale connection.", "requestId": "test-connection-2026-12-02" }
```

1. Give the person the `href` from the result: the Note's address in Xale.

## Tested, in Settings

Once an app is connected and Pro is active, Settings › Connected apps shows **Finish setting up**:

| Step | Ticked when |
| --- | --- |
| Connected (the app's name) | A connection exists |
| Tested | One connection has both read from Xale and saved or changed something of the person's |
| Told Xale how you use it | The person's "How I use Xale" answers are saved |

A removal preview or a check-in's bookkeeping doesn't count as a save.

## The other starter message

The prompt [`tell_xale_how_i_use_it`](https://xale.app/docs/ai/tell-xale-how-i-use-it-prompt) interviews the person with four questions, one at a time, then saves their answers with `xale_save_my_instructions` after their yes. See [How I use Xale · read it first](https://xale.app/docs/ai/how-i-use-xale-read-it-first).

## Related

- For people: [How do I test my Xale connection?](https://xale.app/help/check-the-connection-two-test-messages)
- Tools: [xale_read_today](https://xale.app/docs/ai/tools/xale_read_today)
- Tools: [xale_save_note](https://xale.app/docs/ai/tools/xale_save_note)
- Read next: [Prompts and resources](https://xale.app/docs/ai/prompts-and-resources)
- Read next: [Save this chat · prompt](https://xale.app/docs/ai/save-this-chat-prompt)
