Skip to content
Help

Make your first MCP tool calls

Discover tools, read a daily overview, and try an approved write in a sample workspace.

Updated

On this page

Discover the tools

Sign in with Pro in Spillit before running workspace tools.

These examples use JSON-RPC, a message format for requests and results. Send each example as one line on the connection.

Initialize your Model Context Protocol (MCP) connection. Then use tools/list to inspect the tools available to your session.

  1. DiscoverUse tools/list to see which operations your session offers.
  2. Read firstCall read_today to check which events, tasks, and notes come back.
  3. Try a writeUse create_task in a sample library. Open Spillit to check that the task appears.
Start with a read to check the connection before trying a change.
{"jsonrpc":"2.0","id":1,"method":"tools/list"}

Some builds expose common tools first. If your session offers find_tools, use it to discover more tools by topic. Check the returned argument requirements before calling a tool.

{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"find_tools","arguments":{"query":"projects"}}}

Read today

read_today returns calendar events, tasks due or overdue, and recently changed notes.

{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"read_today","arguments":{}}}

Create a task in a sample workspace

Try this with a disposable library. Choose Ask before changes under Agent access, then approve the proposed change when prompted.

{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"create_task","arguments":{"data":{"activity":"Review workshop agenda"},"request_id":"help-center-example-1"}}}

Use a new request_id for every new change. When retrying the same change, reuse the same ID and identical arguments.

If a write was interrupted, use read_operation with its request_id to check the result before retrying. Discover it through find_tools if needed.

Read the MCP protocol documentation for client initialization and transport details.

Was this article helpful?

Still need help?