ToolSpec contracts and the same server-side runtime instead
of duplicating business logic in each adapter.
The current catalog contains 190 registered tools. Each tool defines a stable name, canonical
description, input and output schemas, required IAM permissions, risk level, access mode,
annotations, and allowed surfaces.
Product-level operations
Tools represent bounded product actions such as querying logs, testing an alert, or updating
one dashboard panel—not arbitrary HTTP requests.
Tenant-safe context
The authenticated adapter injects the caller identity and organization.
user_id and
org_id never select the execution tenant.Progressive context
Common tools stay visible. Deferred tools are searched only when needed, keeping model
context and token usage bounded.
One execution path
Permission, license, policy, timeout, output bounds, idempotency, approval, verification, and
audit are enforced again at execution time.
Tool granularity
A good MoleSignal tool has one clear operational intent and one bounded result.- Use one tool for one atomic read, preflight, or mutation.
- Keep list, get, create, update, delete, test, trigger, cancel, and retry operations separate.
- Expose product concepts instead of raw routes or arbitrary request builders.
- Return structured, bounded output suitable for a model and an audit record.
- Keep credential plaintext, binary transfer, raw intake, shell execution, and browser control outside the catalog.
Surfaces
Tool exposure is explicit for each runtime surface.
The server checks surface exposure both while building a tool list and immediately before
execution. Bypassing
tools/list does not bypass the surface boundary.
Inbound MCP discovery
Inbound MCP keepstools/list small. The authorized response can include:
- seven pinned read tools:
query_logs,query_metrics,list_streams,get_stream_schema,list_traces,get_trace, andget_incident; - approval controls:
list_agent_approvals,get_agent_approval, andexecute_agent_approval; - execution controls:
list_agent_executionsandget_agent_execution; tool_search,call_read_tool, andcall_managed_tool.
Search the authorized catalog
Calltool_search with a product phrase or domain:
Run a read or preflight
Pass the discovered name and arguments tocall_read_tool:
as_task to true for a durable read task when the MCP client advertises the Tasks
extension. Poll, update, or cancel the returned task with the MCP task methods.
Run a managed change
Pass a unique idempotency key tocall_managed_tool:
Risk and execution policy
The tool risk level supplies a safe default. Workspace Tool Policy can apply a stricter execution mode.
Automatic managed changes still create an auditable approval record. Confirmation mode can use
the MCP multi-round input flow. Single- and dual-approval modes wait for reviews in MoleSignal.
After the required reviews, the original requester can call
execute_agent_approval with another
idempotency_key to finish the operation.
Before execution, the runtime revalidates:
- authenticated principal and organization state;
- required IAM permissions and permission mode;
- license and feature availability;
- surface exposure and current Tool Policy;
- input schema, target resource state, and risk;
- timeout, response-size limit, and idempotency;
- post-operation verification and audit recording.
Catalog coverage
The catalog covers the product operations that are safe and useful for AI-driven investigation and administration.
Call
get_platform_capabilities for a surface-filtered capability summary. Call tool_search for
the current authorized names and schemas instead of relying on a static list.
Identity and secret boundaries
- The authenticated credential supplies the caller
user_idandorg_id. get_user_profileandget_user_preferencesaccept an optionaltarget_user_idonly to select a resource. Reading another member requiresorg.members.readand an organization membership check.- Read and list tools return credential metadata only.
create_api_tokenandcreate_service_accountare not available on Inbound MCP because both produce one-time plaintext. Create these credentials in the Web UI.- Existing Service Accounts and API tokens can still be listed, updated, enabled, disabled, revoked, or deleted through authorized non-secret tools.
MCP resources, prompts, and tasks
Inbound MCP also exposes IAM-filtered resources for platform capabilities, the tool catalog, approvals, executions, search jobs, and stream schemas. Built-in, organization, and current-user Mole Agent prompts are available throughprompts/list and prompts/get.
Long read operations can run as MCP tasks. Progress notifications, resource subscriptions, and
catalog-change notifications are available when supported by the negotiated MCP protocol
version.
Connect an MCP client
Enable the endpoint and connect with OAuth 2.1 or an API token.
Mole Agent
Use the same governed catalog from the embedded operations agent.