Tool Discovery Is Not Tool Authorization
A tool appearing in an agent's catalog does not mean the agent should be allowed to call it.
This distinction becomes critical when tool catalogs are dynamic. MCP servers can expose a list of tools, attach input and output schemas, and notify clients when that list changes. This is useful discovery machinery. It is not an authorization model.
I see a dangerous shortcut in many agent architectures: discover a tool, place its schema in model context, and treat the resulting tool call as executable intent. Three different questions collapse into one:
- Does this tool exist?
- Can this caller use it now?
- Is this particular effect allowed in the current run?
A reliable runtime must answer them separately.
Discovery produces a snapshot, not a permission
The current MCP specification is explicit that a server's tool list may change over time and may vary with the authorization presented on a request. It also recommends deterministic ordering because clients cache tool lists and include them in model context.
That creates a useful object: a capability snapshot. It describes what a client observed at a particular boundary.
{
"server": "billing-mcp",
"observed_at": "2026-08-11T13:20:00Z",
"principal": "agent:release-bot",
"tool": "refund_payment",
"schema_digest": "sha256:7cc...91a",
"effect": "external_write",
"policy_version": "payments-12",
"valid_until": "2026-08-11T13:25:00Z"
}
The snapshot is not permission. It is evidence used by the authorization decision. Its value is that it binds together four facts that otherwise drift independently: the caller, the observed schema, the effect class, and the policy version.
Without that binding, an agent can plan against one tool definition and execute against another. A cached catalog may still contain a removed tool. A schema may gain a consequential parameter. Credentials may change the visible set. Policy may revoke an effect while the model still holds the old description in context.
“Valid JSON” does not solve any of these failures. Freshness and identity are part of correctness.
Revalidate at the effect boundary
I would not refresh every tool before every read. That wastes latency and defeats useful caching. The refresh rule should follow the effect.
| Effect class | Example | Runtime rule |
|---|---|---|
| Read-only, bounded | fetch documentation | use a short-lived cached snapshot |
| Reversible local write | update a draft file | verify schema digest and workspace scope |
| External or irreversible write | publish, pay, delete remote data | revalidate capability and policy immediately before execution |
| Authority change | invite user, grant role | require fresh authorization and explicit approval |
This is not a universal timeout table. The runtime chooses freshness according to consequence. A five-minute snapshot might be reasonable for documentation search and unacceptable for transferring money.
The important transition is planned -> authorized -> executed. Discovery can support planning, but it must not silently perform the authorization transition.
I made a related argument in preconditioned agent writes: a write should prove that the state it is about to modify still matches the state it inspected. Capability snapshots apply the same principle to the interface itself. The runtime must prove that the tool and authority still match what the plan assumed.
Bind the call to what was reviewed
A good execution envelope contains more than a tool name and arguments:
{
"tool": "refund_payment",
"arguments_digest": "sha256:1d4...f02",
"capability_digest": "sha256:7cc...91a",
"policy_version": "payments-12",
"principal": "agent:release-bot",
"effect": "external_write",
"decision": "allow_once"
}
The runtime checks this envelope, not the model's confidence. If the schema digest changed, the call returns to planning. If the policy version changed, it returns to authorization. If the principal changed, the decision is invalid. If the effect class is stronger than the reviewed one, execution stops.
This also improves human approval. A reviewer should approve a bounded call under a named capability and policy—not a vague future action such as “let the agent handle billing.” This follows the same logic as treating human attention as a runtime budget: an interruption should carry a precise decision surface and the evidence needed to judge it.
Notifications invalidate; they do not authorize
Change notifications are valuable, but they should have one narrow meaning: cached capability state is no longer trustworthy.
On tools/list_changed, the client can invalidate affected snapshots, remove stale schemas from future planning context, and require rediscovery. It should not automatically accept a newly appeared tool, broaden permissions, or migrate a pending call to a new schema.
This is where fail-closed behavior matters. A missed notification is still possible after a disconnect. Therefore consequential calls need an execution-time freshness check even when subscriptions are enabled. Notifications improve responsiveness; revalidation protects correctness.
FACET's current standard makes this separation concrete through declared interfaces, capability and effect classes, policy semantics, and a fail-closed Runtime Guard. MCP solves interoperable discovery and invocation. FACET addresses the separate question of whether a declared call satisfies an enforced contract. I see these layers as complementary, not competing.
The contract is temporal
Tool contracts are often drawn as static schemas. Real agent systems are temporal: catalogs change, credentials expire, policies evolve, and plans wait in queues.
So I add one more dimension to every capability contract: when was this true, for whom, and until which boundary may the runtime rely on it?
That turns tool discovery from prompt decoration into runtime evidence. The model may propose a call from what it sees. The runtime decides whether that view is still fresh, whether the caller still has authority, and whether the effect remains permitted.
Discovery tells the agent what might be possible. Authorization decides what is allowed now. Execution must never confuse the two.