使用 DoWhy GCM 对因果图进行拓扑排序
AI agents call topological_sort_gcm to retrieve information from DoWhy MCP v2 0 without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Topological sorting is a read/query operation that computes an ordering of nodes in a directed acyclic graph based on their dependencies. It does not modify data, execute code, delete anything, or involve financial transactions. It purely reads the graph structure and returns a sorted order, making it a low-severity Read operation.
From the tool's definition 拓扑排序 (topological sort) — the tool performs a sorting/ordering operation on a causal graph structure
Attacks that exploit this kind of access
使用 DoWhy GCM 对因果图进行拓扑排序. It is categorised as a Read tool in the DoWhy MCP v2 0 MCP Server, which means it retrieves data without modifying state.
Register the DoWhy MCP v2 0 MCP server in PolicyLayer and add a rule for topological_sort_gcm: 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 DoWhy MCP v2 0. Nothing to install.
topological_sort_gcm 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 topological_sort_gcm 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 topological_sort_gcm. 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.
topological_sort_gcm is provided by the DoWhy MCP v2 0 MCP server (lesong36/dowhy_mcp). 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 →