Skip to main content
Glama

pdf page count

pdf_page_count

Count pages and report each page size of a PDF (by URL).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • addedInput schema / properties / url
      Added value: +{}
  2. First observed

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations provided, the description must disclose behavioral traits. It implies a read-only operation ('count and report') but does not explicitly state safety, potential side effects, failure modes (e.g., invalid URL handling), or requirements like network access. The description adds minimal context beyond the obvious, leaving significant ambiguity for an agent.

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

Conciseness4/5

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

The description is a single sentence with no wasted words, front-loading the core action. However, it omits necessary context like parameter details and error handling, making it concise but under-specified. Still, it is appropriately short for a simple tool, so it earns a 4.

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

Completeness2/5

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

Given the tool has only one parameter, no annotations, and no output schema, the description should compensate with richer context. It fails to specify input requirements, output format (beyond 'page size'), or error behavior. The description is too sparse to fully support agent decision-making, resulting in an incomplete picture.

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

Parameters1/5

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

The schema defines a single parameter 'url' with zero type or description, and schema description coverage is 0%. The description only mentions 'by URL', giving no details on format, requiredness, or usage. This is insufficient for the agent to construct a valid invocation, especially since the schema marks it as not required.

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 uses a specific verb ('Count', 'report') and resource ('a PDF by URL'), clearly stating what the tool does. It distinguishes from siblings like merge_pdf or split_pdf by focusing solely on page count and page sizes, which is a unique capability among the listed tools.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like pdf_rotate or pdf_watermark. It does not suggest exclusions, prerequisites, or alternative tools. The agent is left to infer usage solely from the purpose, which is not sufficient given the large sibling list.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.5/5.0
Disambiguation5/5

Each tool has a distinct purpose: conversions follow a clear source-target format, and PDF operations (merge, split, rotate, watermark, page count, page numbers) are clearly separated. The what_can_you_do meta-tool further helps route ambiguous tasks. There is no meaningful overlap between tools.

Naming Consistency3/5

Conversion tools consistently use source_to_target naming (md_to_docx, docx_to_md), but PDF tools mix verb_first (merge_pdf, split_pdf) with noun_first (pdf_page_count, pdf_rotate, pdf_add_page_numbers). The names are readable and searchable, but the pattern is not uniform across the set.

Tool Count5/5

13 tools is well within the ideal range for a document-conversion and PDF processing server. Each tool provides a meaningful, distinct operation. The set does not feel padded or overly narrow.

Completeness4/5

The server covers the common conversion flows (DOCX to MD, MD to various formats) and core PDF operations like merge, split, rotate, watermark, and page numbering. Minor gaps are the lack of direct PDF-to-editable-format conversion and non-document input handling, but the described workflows are well covered through chaining.