I build Loom, an open-source memory and code-intelligence server for coding agents, at ClickHouse. This week I removed four tools from what one of its connections lists. Nothing lost the ability to run. Here is why the list itself was the cost.

The listing is paid up front

When an agent client connects to an MCP server, it asks for the tool list. Some clients defer the full schemas and load them only when a tool is needed, which helps. But a client that defers schemas still sends the name of every listed tool with the session's first request. And Claude Code adds its own resource tools to the session when a connected server declares resources.

So every name on the list rides along in every session, whether the agent ever calls it or not.

Some tools were already being run for the agent

Loom ships a coding-agent plugin. Its hooks do work on the agent's behalf: they deliver the primer and the context pack, write the working-memory note, and ask the tracker for duplicate issues. Listing the matching tools (loom_activate, loom_context_pack, loom_working_memory_set, loom_tracker_duplicate_check) gave a plugin session four names it had no reason to call.

The change

A connection whose URL names the plugin profile, on a toolset with a coding part, now leaves those four out of its listing and declares no resources. Every other connection lists what it did before.

The ops still exist. Each one runs by its tool name and through loom_op, the generic call, and the primer and the plugin's skills name the op that way. The issue-search redirect, which used to point at the duplicate-check tool, now spells out the loom_op call instead.

Three tools stay listed on purpose: loom_memory_get, loom_memory_update and loom_memory_delete. The hooks' own text sends the agent to them, so hiding them would break the path the hooks set up.

One detail: a plugin installed for memory alone runs no issue-search redirect, so it keeps the duplicate check listed. The code holds that rule in one function, plugin_hook_ops(plane), and a unit test asserts the difference between the plain coding listing and the plugin listing is exactly the unlisted set.

coding = _names(_listing("coding", False)) both = _plugin_names("both") assert coding - both == PLUGIN_UNLISTED and both < coding 

The takeaway for your own server

Count what your server lists at session start, then ask, for each name, whether the agent will ever choose to call it. If something else (a hook, a startup instruction, a skill) already runs it, list it nowhere and keep it callable through a generic entry point. If the text you show the agent points at a tool, keep that one listed.

The change is in Loom PR #2025: https://github.com/ClickHouse/loom

How many tools does your agent see before it has done anything?