
An MCP server can be technically complete and still be difficult for an agent to use.
The reason is simple: as a platform grows, its tool catalog grows with it. If every route, compatibility alias, administrative action, and client helper is advertised at once, the model must spend context and attention deciding which tools matter before it can begin the user’s actual task.
That is why Ace Data Cloud treats tool discovery as a product and safety problem, not merely a schema-export problem.
The goal is not to hide capability. The goal is to expose the smallest accurate set of capabilities for the current account and task, while preserving full API coverage, permission boundaries, and operational clarity.
This article explains the design behind that approach, the trade-offs it makes, and how it relates to the wider shift toward on-demand tool loading.
¶ Why tool discovery becomes an architecture problem
MCP makes tools portable across compatible clients, but portability does not remove the cost of describing those tools to a model.
Anthropic has documented cases where tool definitions and results consumed more than 50,000 tokens before an agent read the user’s request. In one example, 58 tools across five servers occupied roughly 55,000 tokens; Anthropic also reported seeing 134,000 tokens of tool definitions before optimization. Its Tool Search approach responds by keeping most tools deferred and expanding only relevant definitions when needed. Read Anthropic’s “Advanced tool use”.
The underlying lesson applies beyond any one model provider:
- Catalog size competes with task context. Every irrelevant schema leaves less room for instructions, source material, and reasoning.
- Similar tools create selection ambiguity. Compatibility aliases and route-level variants may be useful for coverage but harmful when advertised side by side.
- Discovery is part of authorization. A tool that an account cannot use should not normally appear as an available action.
- Failures must remain legible. “No matching capability,” “not connected,” and “permission denied” are different states and should not collapse into a vague tool error.
- Compatibility and usability are not the same objective. A server may retain a comprehensive implementation registry while presenting a smaller default catalog.
Ace Data Cloud’s implementation is designed around those constraints.
¶ The Ace model: full coverage, curated discovery
The public AceDataCloudMCP repository separates the complete implementation surface from the catalog advertised by default.
At the time of writing, the repository’s generated tool reference describes a default curated catalog of 359 tools before account-permission filtering, while the complete compatibility registry retains 530 tools. Those counts can evolve as the platform changes, and the set visible to a specific client can be smaller after deployment, profile, authentication, and permission filtering. See the generated tool reference.
Authentic browser capture of the public AceDataCloudMCP repository used for this implementation review.
This separation is deliberate:
- The registry preserves coverage. Existing operations and compatibility paths can remain implemented.
- The catalog decides what should be discovered. Task-oriented, canonical tools are preferred for normal use.
- Request-time visibility applies account boundaries. The server returns only the tools appropriate for the current credential.
The result is a layered discovery system rather than a single unfiltered list.
¶ Layer 1: a task-oriented catalog
Ace’s catalog policy groups tools by business purpose rather than treating every REST route as an equally important model action.
The public implementation defines categories such as:
- Account and API keys
- Catalog and documentation
- Applications and deployments
- Usage and billing
- Sites and branding
- Community and wallet
- Content and announcements
- Email marketing and analytics
- Access control and automation
- Payment authorization
- Administration and risk
- Files and utilities
Each catalog entry carries an audience, required permissions, whether it is advertised, a reason for that policy, and, where relevant, a preferred replacement.
That makes suppression explainable. A tool can be omitted from default discovery because it is:
- a duplicate native route;
- an alternate full-replacement update when a safer task-oriented update exists;
- a client rendering, telemetry, or protocol helper; or
- a legacy reader superseded by a clearer catalog tool.
The important design choice is that these tools are not removed arbitrarily. The policy records why a tool is not advertised and can point to the canonical replacement. Inspect the catalog policy.
¶ Layer 2: permission-aware visibility
Curation reduces noise, but it does not answer the most important question: which of those curated tools should this caller see?
Ace answers that at request time.
The server obtains the current authenticated subject, reads the subject’s canonical permission grants, and filters the advertised catalog accordingly. Public operations remain visible without account privileges. Account, workspace, and administrative operations require their exact grants. Cross-account tools require explicit :any permissions rather than relying on a broad “admin” label.
This gives discovery the same shape as the authorization model:
- A personal account can discover its own account workflows without inheriting administrative tools.
- A delegated editor can discover workspace operations covered by its grants.
- An operational administrator sees only the administrative surfaces covered by exact permissions.
- If a grant is revoked, the affected tools disappear from subsequent discovery responses.
The public test suite also checks that permissions do not leak across concurrent requests. Review the visibility implementation and its discovery tests.
This is more than interface cleanup. It reduces the chance that an agent plans around an action the current account cannot execute.

¶ Layer 3: metadata that helps clients reason
Visible tools are enriched with discovery metadata, including:
acedatacloud/categoryacedatacloud/audience
This preserves useful structure after filtering. A client does not receive only a flat list of names; it also receives signals about the business category and intended audience of each capability.
Descriptions are normalized as well. Cross-account tools explicitly state that they are administrative collection queries, name the additional permission they require, and direct callers toward the native account tool for their own data.
Good discovery depends on names and schemas, but descriptions and metadata provide the behavioral context that schemas alone cannot express.
¶ Layer 4: fail closed when identity is unresolved
A discovery system should not become permissive when authentication is unclear.
Ace’s visibility layer catches platform authentication failures and falls back to a safe subject with no private grants. In that state, public tools and the usage guide can remain visible, while account and administrative actions stay hidden, even when the server is configured with the full compatibility profile.
The test suite also verifies that an unclassified registered tool is not implicitly advertised.
This is the desired failure mode: uncertainty reduces the visible action surface instead of expanding it.
¶ Curated and full profiles serve different needs
Ace exposes an explicit tool profile setting:
- Curated is the default discovery experience. It favors canonical, task-oriented tools and suppresses redundant or client-specific surfaces.
- Full preserves compatibility and inspection use cases, but it still does not override account permissions.
That last point matters. “Full” means a broader catalog profile; it does not mean unrestricted access.
This separation supports several audiences at once:
- Agents get a cleaner default surface.
- Developers can inspect broader compatibility coverage when needed.
- Existing integrations can retain legacy routes.
- Security boundaries remain tied to canonical permissions in either profile.
¶ How this complements provider-side tool search
Server-side curation and client-side deferred loading solve related but different problems.
Ace’s MCP server controls what the server advertises to a particular caller. Provider features such as deferred tool loading control which advertised definitions enter the model’s active context at a particular moment.
Used together, they create a stronger pipeline:
- The server removes duplicates, helpers, and unauthorized operations.
- The client or model searches the remaining catalog for the current task.
- Only the relevant definitions are loaded into active context.
- Execution proceeds under the same underlying permission model.
The two layers should not be confused. Semantic tool search is not a substitute for authorization, and authorization filtering does not by itself eliminate all context overhead in a large authorized catalog.
¶ Discovery states should remain observable
A robust tool workflow distinguishes at least five states:
- Loaded: the capability is available to the model now.
- Not loaded: the capability may exist but has not been brought into active context.
- No match: discovery found no relevant capability.
- Permission denied: a capability exists, but the caller lacks authorization.
- Connection failed: the relevant server or connector could not be reached.
These distinctions improve debugging and user trust. They also prevent a dangerous pattern in which an agent silently substitutes a different action when the requested capability is unavailable.
Ace’s implementation contributes the server-side foundations: explicit catalog policy, canonical permission checks, metadata, explainable replacements, and fail-closed visibility. The client remains responsible for presenting connection and deferred-loading states clearly.
¶ Practical design principles for MCP builders
Ace Data Cloud’s approach suggests a reusable checklist for large MCP servers.
¶ 1. Keep the implementation registry and discovery catalog separate
Coverage is an engineering concern. Discoverability is a product concern. Treating them as the same list makes both harder to manage.
¶ 2. Prefer canonical task tools over route-shaped duplicates
Agents work better with business operations such as “create a blog draft” or “summarize usage” than with several near-identical transport-level variants.
¶ 3. Make suppression explainable
Record the reason a tool is hidden and the preferred replacement. This turns catalog curation into an auditable policy rather than an undocumented exception list.
¶ 4. Filter discovery with exact permissions
Do not rely only on role names or UI labels. Tool visibility should be derived from the same canonical grants that govern execution.
¶ 5. Fail closed
An expired credential, unresolved subject, or unclassified tool should not expand the action surface.
¶ 6. Preserve compatibility without making it the default experience
A full profile is valuable for inspection and legacy clients. It should remain explicit, and it should never bypass authorization.
¶ 7. Add client-side deferred loading when the authorized catalog is still large
Server curation reduces the candidate set. On-demand loading can reduce active context further.
¶ The core idea
Tool discovery is not a prelude to the product. For an agentic platform, it is part of the product.
Ace Data Cloud’s approach can be summarized in one sentence:
Preserve the full capability surface, advertise the canonical task surface, and reveal only what the current caller is allowed to use.
That design keeps compatibility, usability, and security from competing in the same undifferentiated tool list. It also gives clients a cleaner foundation for deferred loading, semantic search, and programmatic orchestration as MCP ecosystems continue to grow.
