Low Risk

probe_pdf

Check page count and exact cost for a PDF before extracting. Free, no payment required.

How to control probe_pdf ↓

What probe_pdf does on Docpull

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

ParameterTypeRequiredDescription
url string Publicly accessible URL of the PDF

Parameters from the server's own tool schema.

Low Risk

Why probe_pdf needs a policy

This tool merely retrieves metadata (page count and cost estimate) from a PDF without creating, modifying, executing, or deleting anything. It is a read-only operation with minimal blast radius—an AI agent misusing this tool could only waste API calls on probing PDFs, not cause data loss or unauthorized operations.

From the tool's definition Tool performs a check/query operation ('Check page count and exact cost') with 'Free, no payment required' indicating it has no side effects.

Risk signalsAccepts URL/endpoint input (url)

Documented attack patterns abuse exactly the kind of access probe_pdf gives an agent:

How to control probe_pdf

PolicyLayer is an MCP gateway — it sits between your AI agents and Docpull, and nothing reaches the server without passing your rules. This is the rule we recommend for probe_pdf:

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "probe_pdf": {}
  }
}

probe_pdf is read-only, so it stays allowed — but everything else on the server is denied unless you say otherwise.

  1. Create a free account and register Docpull — nothing to install.
  2. Add this policy — paste it, or build it visually.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
CAP THIS TOOL →

Free to start. No card required.

Related tools and policies

Go deeper

Questions about probe_pdf

What does the probe_pdf tool do? +

Check page count and exact cost for a PDF before extracting. Free, no payment required. It is categorised as a Read tool in the Docpull MCP Server, which means it retrieves data without modifying state.

What parameters does probe_pdf accept? +

probe_pdf accepts 1 parameter: url. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on probe_pdf? +

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

What risk level is probe_pdf? +

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

Can I rate-limit probe_pdf? +

Yes. Add a rate_limit block to the probe_pdf 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 probe_pdf completely? +

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

probe_pdf is provided by the Docpull MCP server (jesse-dxju/docpull). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every Docpull tool call.

Start from Docpull, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.

Free to start. No card required.

3 Docpull tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

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

Message sent.

We'll get back to you soon.