Analiza un PDF estatico (sin AcroForm) para sugerir donde colocar los campos automaticamente. Extrae texto con posiciones y usa heuristicas para detectar labels y areas de input probables. CUANDO USAR: - El PDF no tiene AcroForm (autoform_detect_fields devolvio has_acroform=false). - Es un certi...
Part of the Autoform MCP server. Enforce policies on this tool with Intercept, the open-source MCP proxy.
AI agents call autoform_analyze_static_pdf to retrieve information from Autoform without modifying any data. This is common in research, monitoring, and reporting workflows where the agent needs context before taking action. Because read operations don't change state, they are generally safe to allow without restrictions -- but you may still want rate limits to control API costs.
Even though autoform_analyze_static_pdf only reads data, uncontrolled read access can leak sensitive information or rack up API costs. An agent caught in a retry loop could make thousands of calls per minute. A rate limit gives you a safety net without blocking legitimate use.
Read-only tools are safe to allow by default. No rate limit needed unless you want to control costs.
tools:
autoform_analyze_static_pdf:
rules:
- action: allow See the full Autoform policy for all 11 tools.
Agents calling read-class tools like autoform_analyze_static_pdf have been implicated in these attack patterns. Read the full case and prevention policy for each:
Other tools in the Read risk category across the catalogue. The same policy patterns (rate-limit, allow) apply to each.
Analiza un PDF estatico (sin AcroForm) para sugerir donde colocar los campos automaticamente. Extrae texto con posiciones y usa heuristicas para detectar labels y areas de input probables. CUANDO USAR: - El PDF no tiene AcroForm (autoform_detect_fields devolvio has_acroform=false). - Es un certificado, diploma, constancia, formulario diseñado en Canva/Word/Figma. - Quieres sugerencias automaticas de donde van los campos sin tener que calcular coordenadas visualmente. QUE DEVUELVE: - Clasificacion del PDF: "text_vectorial" (texto extraible), "mixed" (texto + imagenes), "image_only" (escaneado). - Para text_vectorial: "suggested_fields" con labels inferidos y coordenadas sugeridas. - Para image_only: "suggested_approaches" con opciones claras para el usuario (NO rechaza el PDF). - Texto completo con posiciones por pagina ("all_text_items"). ⚠️ CASO PDF-IMAGEN (pdf_type: "image_only"): Si recibes este tipo, NO intentes procesar el PDF con los otros tools. En su lugar, PRESENTA AL USUARIO las suggested_approaches de forma clara y amigable, y espera su eleccion. Las opciones tipicas son: 1. Adjuntar el PDF al chat de Claude Desktop (Claude puede verlo visualmente) 2. Usar la app web de AutoForm para definir campos manualmente 3. Proporcionar coordenadas manualmente si ya las conoces ⚠️ CASO text_vectorial: - suggested_fields son SUGERENCIAS heuristicas que pueden estar en posiciones incorrectas para layouts atipicos (centrados, tabulares complejos). - USA all_text_items para razonar sobre el layout real del PDF. - Descarta sugerencias que son texto decorativo ("CERTIFICADO", "Firma 1/2"). - Cuando no estes seguro del layout, PREGUNTA al usuario o pidele que adjunte el PDF al chat para verlo visualmente. ⚠️ FORMULARIOS COMPLEJOS: - Si el formulario tiene muchos campos (>10), tablas densas, o un layout no obvio, RECOMIENDA al usuario adjuntar el PDF al chat para verificacion visual antes de generar. Dile algo como: "Este formulario es complejo. Para asegurar precision, te recomiendo adjuntarme el PDF al chat para que pueda verificar las posiciones visualmente." - Si el usuario ya adjunto el PDF al chat Y tambien te dio la ruta, APROVECHA ambos: usa la imagen visual para verificar que tus coordenadas son correctas. ⚠️ CHECKBOXES: - Si detectas textos tipo opciones multiples en la misma linea Y (ej: "ALUMNO", "DOCENTE", "ADMINISTRATIVO"), es probable que haya casillas de verificacion. - NO adivines la posicion de los cuadrados. Pide al usuario que adjunte el PDF para verlo visualmente. ⚠️ CASO mixed: Hay algo de texto pero poca densidad. Puede haber campos que NO se detectaron automaticamente porque el label es una imagen. Usa suggested_fields como punto de partida pero verifica visualmente si faltan campos.. It is categorised as a Read tool in the Autoform MCP Server, which means it retrieves data without modifying state.
Add a rule in your Intercept YAML policy under the tools section for autoform_analyze_static_pdf. You can allow, deny, rate-limit, or validate arguments. Then run Intercept as a proxy in front of the Autoform MCP server.
autoform_analyze_static_pdf 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 autoform_analyze_static_pdf rule in your Intercept 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 Intercept policy for autoform_analyze_static_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.
autoform_analyze_static_pdf is provided by the Autoform MCP server (autoform-mcp-server). Intercept sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Deterministic policy on every MCP tool call. Per-identity grants. Full audit log.