Get usage statistics of a workflow
AI agents call get_workflow_usage to retrieve information from GitHub Actions MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool retrieves and queries workflow usage metrics without modifying, executing, or deleting any data. It is a straightforward observational operation that fits the Read category. The low severity reflects minimal blast radius—an agent misusing this tool would only be able to view statistics, not affect infrastructure or trigger unintended actions.
From the tool's definition Tool name 'get_workflow_usage' and description 'Get usage statistics of a workflow' indicate a retrieval operation. The 'get' verb and 'usage statistics' (observational data) confirm this is a read-only query with no side effects.
Attacks that exploit this kind of access
Get usage statistics of a workflow. It is categorised as a Read tool in the GitHub Actions MCP Server MCP Server, which means it retrieves data without modifying state.
Register the GitHub Actions MCP Server MCP server in PolicyLayer and add a rule for get_workflow_usage: 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 GitHub Actions MCP Server. Nothing to install.
get_workflow_usage is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_workflow_usage 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 get_workflow_usage. 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.
get_workflow_usage is provided by the GitHub Actions MCP Server MCP server (onemarc/github-actions-mcp-server). 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 →