AI agents use declare_capability to create or update resources in Moltmark — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Moltmark environment.
This tool creates new capability records in the PostgreSQL database for an agent. It is a write operation (creating/registering data) that could be misused to falsely attribute capabilities to an agent, potentially influencing trust scores and certification outcomes. It does not delete data or execute code, making Write the most appropriate category.
From the tool's definition 'Register a new skill or capability for an agent. This declares what the agent can do.'
Attacks that exploit this kind of access
Register a new skill or capability for an agent. This declares what the agent can do. It is categorised as a Write tool in the Moltmark MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Moltmark MCP server in PolicyLayer and add a rule for declare_capability: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Moltmark. Nothing to install.
declare_capability is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the declare_capability rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for declare_capability. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
declare_capability is provided by the Moltmark MCP server (moltobene-studio/mcp-server-moltmark). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →