glossary

Tools and MCP

MCP resource

An MCP resource is data a server addresses by URI so the client can read it into context, and it is a readable object rather than a tool the model invokes with arguments.

Abracadabra Team Glossary

How it works

A resource has a URI, a name, and usually a mime type. The client lists URIs, then reads one with resources/read. The body comes back as text, JSON, or bytes. The model does not fill an arguments object for that read. The host chooses whether to insert the body, a slice of it, or only a link. The URI is the identity of the data. Two reads of the same URI in one session can still differ if the document changed between them.

A read is a snapshot. Where the server supports subscriptions, a notification tells the client to read again. That update path is not a tool call, and it should not be forced into one by minting a new URI for every question. If the user must pass a filter the URI does not encode, a tool fits better. Writing through a resource, or treating a tool result as if it had a stable URI, mixes the audit: one path is "who read this document", the other is "who ran this action".

A worked example

A checkout spec read by URI

Server resources/list includes:
uri: design://boards/checkout/spec
name: Checkout spec
mimeType: text/markdown
There is no tool called get_spec.
User: Does the pay button say "Pay now" or "Continue"? Use the spec, not the mock.
Client sends resources/read uri design://boards/checkout/spec.
Server returns the markdown body. The sentence in the spec is: The primary button label is "Pay now".
Host inserts that paragraph into the model context and does not offer a tool for the question.
Assistant: The spec says the primary button label is "Pay now".
No arguments were chosen by the model. The URI was the address.
Later the spec file changes the label to "Continue". A client that still holds the morning body will quote "Pay now" until it reads the URI again.

Illustrative example, not a production trace and not a measured result.

What goes wrong

  • The host wraps the spec as a tool, get_spec, with an empty schema. Every question now looks like an action in the audit log, and approval rules aimed at writes fire on a read.
  • The client reads the URI once at session start and never again. Edits to the spec do not enter later turns, so the button name drifts from the file.
  • resources/read returns the whole design system, and the one checkout sentence is crowded out. The model quotes a label from a different board in the same body.

How to measure it

Log URI, mime type, byte length, and whether a slice or the full body entered the prompt. A quote in the assistant text that does not appear in that body is not grounded in the resource, whatever tool calls also ran.

When a reviewer pastes the spec sentence again, check the time of the last resources/read for that URI against the edit time of the file. A read older than the edit explains a stale label without blaming the model for inventing one.

Further reading

How Abracadabra helps

A reviewer who pastes the checkout sentence again, because the answer named a different button label, is showing that the spec at that URI was not in the turn.

Tool events are searchable even when the person never wrote a complaint. Abracadabra keeps the task outcome next to those calls, because a tool can return success while the task is unfinished. MCP analytics, which would group calls by server and tool, is in early access.

Request access to read this on your own agent.

See it in your own agent's conversations.

Each task, the step where it stops, and the conversations behind every count. Free during early access.