Skip to main content
Glama

ParseHub.dev (documents to records)

parse_office

Parse a Word, Excel, or PowerPoint file (.docx, .xlsx, .pptx) into text. content_base64 is the file bytes. The file is not stored.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filename": "<filename>",
      "content_base64": "<content_base64>"
    },
    "name": "parse_office"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYes
content_base64Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the entire behavioral burden. It usefully discloses that 'The file is not stored,' which is real non-persistence information, but says nothing about size limits, failure modes on corrupt files, or whether extraction preserves structure (sheets, slides, tables) versus returning a flat text blob.

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?

Three short sentences, front-loaded with the capability and followed by the one parameter clarification and the storage caveat. No filler or redundant restatement of the tool name.

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

Completeness3/5

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

For a simple two-parameter tool with no output schema, the definition covers what it does, the input format, and the no-storage guarantee. It is still thin on what the returned text looks like and on the role of filename, which an agent needs in order to call it correctly and interpret results.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for both parameters. It clarifies content_base64 as 'the file bytes,' which helps, but leaves filename unexplained — it is unclear whether the extension selects the parser, is echoed back, or is merely a label — and gives no encoding format guidance for the base64 string.

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

Purpose4/5

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

The description gives a specific verb (parse) and resource (Word/Excel/PowerPoint files) and enumerates the exact extensions supported, so an agent knows precisely what input it accepts. It stops short of differentiating itself from siblings such as read_document or ask_document, so the agent must infer the boundary.

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

Usage Guidelines3/5

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

Usage is only implied: the presence of content_base64 signals this is for raw bytes rather than a stored document, which indirectly separates it from read_document. There is no explicit statement of when to prefer this tool, when not to, or what alternative handles already-stored files.

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.

Resources