list_refs

List all references with optional prefix filter

Server Substrate ivan-saorin/substrate
Category Read
Risk class Low
Parameters 00 required

What list_refs does on Substrate

AI agents call list_refs to retrieve information from Substrate without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why list_refs needs a policy

This tool queries and returns a list of references, which is a classic read operation. The optional prefix filter is a typical query parameter for narrowing results. There are no indicators of data modification, deletion, or code execution. The blast radius is minimal—it only retrieves information already accessible to the user.

From the tool's definition Tool name 'list_refs' and description 'List all references with optional prefix filter' indicate a retrieval operation without side effects. No creation, modification, deletion, or execution is described.

Questions about list_refs

What does the list_refs tool do? +

List all references with optional prefix filter. It is categorised as a Read tool in the Substrate MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on list_refs? +

Register the Substrate MCP server in PolicyLayer and add a rule for list_refs: 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 Substrate. Nothing to install.

What risk level is list_refs? +

list_refs is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit list_refs? +

Yes. Add a rate_limit block to the list_refs 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.

How do I block list_refs completely? +

Set action: deny in the PolicyLayer policy for list_refs. 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.

What MCP server provides list_refs? +

list_refs is provided by the Substrate MCP server (ivan-saorin/substrate). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.