Skip to main content
Glama
okra-project

okraPDF PDF MCP server

Official
by okra-project

Verify Block

verify_block

Mark a block as verified (✓) or wrong (✗) and persist the status to the PDF document. Accepts an optional note for reference.

Instructions

Mark an extracted block as verified (✓) or wrong (✗), persisted to the document. Called by the view_document viewer when the user clicks a block; also usable directly with document_id + node_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoOptional human note, stored with the verification.
node_idYesNode/block ID to verify (from a view_document overlay).
approvedNotrue → mark the block verified (✓). false → flag it as wrong (✗).
document_idYesokraPDF document ID the block belongs to.
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses the core behavior (mark as verified/wrong, persisted), but does not mention side effects, reversibility, or permissions. It is informative but not deeply transparent about consequences.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the action in the first sentence and usage context in the second. No wasted words, perfectly sized for the complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with complete schema coverage and no output schema, the description is nearly complete. It mentions persistence and the viewer-driven calling context, but leaves out edge cases like idempotency or what happens on repeated calls.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already provides 100% parameter descriptions, so the baseline is 3. The description adds minimal extra semantic value beyond reiterating the document_id + node_id usage, which is already in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's action: 'Mark an extracted block as verified (✓) or wrong (✗), persisted to the document.' This is a specific verb+resource+outcome, distinguishing it from sibling tools like verify_source or approve_run.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides clear context for when the tool is used: 'Called by the view_document viewer when the user clicks a block; also usable directly with document_id + node_id.' This explains the invocation path, though it does not explicitly compare with alternatives like verify_source.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/okra-project/pdf-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server