search_code_repository
AI agents call search_code_repository to retrieve information from Metis Public Health without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Searching a code repository is fundamentally a read operation that retrieves information without modifying, executing, or deleting data. No side effects are implied by the operation itself. The confidence is slightly reduced (0.85 rather than higher) due to the missing description, but the semantics of 'search' in this context are unambiguous as a lookup/query operation.
From the tool's definition Tool name 'search_code_repository' indicates querying/retrieval of code repository contents. The description is empty, limiting direct evidence, but the verb 'search' strongly suggests read-only data retrieval without side effects.
Attacks that exploit this kind of access
search_code_repository. It is categorised as a Read tool in the Metis Public Health MCP Server, which means it retrieves data without modifying state.
Register the Metis Public Health MCP server in PolicyLayer and add a rule for search_code_repository: 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 Metis Public Health. Nothing to install.
search_code_repository 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 search_code_repository 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 search_code_repository. 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.
search_code_repository is provided by the Metis Public Health MCP server (sveritg/metis_ph). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
search_code_repository is one line of Metis Public Health's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →