How an agent reaches data: tools and MCP¶
Draft: not yet reviewed
This explainer was drafted with an AI assistant from the MCP specification and the MESA documentation. The assistant saw the four server names in a MESA JupyterLab terminal on 2026-11-18. Nobody has yet read the page against either source. Tell us what you find.
The idea in one sentence¶
An agent can only do what its tools let it do, and the Model Context Protocol (MCP) is the common way tools are offered to it.
Why it matters for your result¶
Knowing the tools tells you what an answer could have been based on. If no tool can read a file, nothing the agent says about that file came from the file.
How it works¶
A language model on its own produces text. To list a folder or read a table, something else has to do the work and hand back the result. MCP is an agreed way to set that up3.
| Part | What it is |
|---|---|
| Server | A program that offers tools. It runs beside the agent or somewhere else. |
| Tool | One thing a server can do. It has a name, a description, and the inputs it needs. |
| Call | The agent's request to run one tool with given inputs. The server does it and returns the result. |
The model reads the list of tools and picks one from its description. It does not look inside the tool. A tool with a vague description gets called at the wrong time, or not at all.
What it looks like in MESA¶
Every MESA app registers the same four servers for its agents1:
| Server | What its tools are for |
|---|---|
irods |
The Data Store: list, read, write, and move files and folders |
mesa |
The Data Store again, plus metadata and ontology terms2 |
formation |
The Discovery Environment: list and launch apps, check on an analysis |
filesystem |
Files inside the running app |
The terminal's welcome text lists them by these names. Until you run cyverse-login,
the Data Store tools read public data only. formation needs a sign-in of its own.
A common mistake¶
Assuming the agent "has access to MESA" as a whole. It has these tools, with your sign-in or without it, and nothing else. It cannot see the portal page you are looking at.
Check your understanding¶
You ask an agent how many CPU hours you have left. It answers at once, with a number, and the run shows no tool call. What do you know about the number?
Answer
It did not come from MESA. Nothing was called, so nothing was looked up. The number is recalled, not retrieved. Read your hours in the portal: Check your CPU hours and storage.
Next¶
Drafted with AI assistance on 2026-11-18. No person has yet reviewed this page.
-
AI agents in the MESA apps, https://idss-mesa.github.io/docs/apps/agents/. ↩
-
mesa-mcp, https://idss-mesa.github.io/docs/servers/mesa-mcp/. ↩
-
Model Context Protocol specification, revision 2025-11-25, https://modelcontextprotocol.io/specification/2025-11-25. ↩
Machine-readable versions of this page: Markdown twin · raw source on GitHub · llms.txt · llms-full.txt (whole site). See For AI agents.