Skip to main content
Glama

List every module's packet coverage for an extraction job

datasheetvend_list_module_packets
Read-onlyIdempotent

For each extraction module (pinout, absolute_max, thermal, logic_levels, power_battery, timing, part_decoder, register_map, peripheral_matrix, analog_intelligence, passive_bom, pin_cautions), what its packet holds of the job's parsed datasheet: status (routed, routed_partial, nothing_routed: a statement about routing, never about the part), the target package it is scoped to, notes (what the packet does not do yet, e.g. target_package_unknown, other_package_blocks_removed), pages, blocks, chars and token_estimate. Also depth_recommendation: which depth this document's parse points to (fast or full_audit, null without a readable parse) with reasons in plain words and the facts behind them; a recommendation, never a promise of accuracy. No block bodies: read one module's blocks with datasheetvend_get_module_packet. Deterministic: reads the job's stored parse (parsed_document_v1), calls no model and extracts nothing. Costs no credits. Needs a DatasheetVend API key; readable jobs are your own, your workspace's TEAM-shared jobs and PUBLIC jobs, as on the REST API. Refusals: NOT_PARSED / PARSE_FAILED (no usable parse stored for this job), PARSE_EXPIRED (past retention), DOCUMENT_TOO_LARGE (over 20,000 blocks). Every block, cell and word comes with its page, box ([x0, y0, x1, y1] in PDF points, origin top-left), quoted text and parse {document_sha256, parser_version, block_id, cell_id}; block ids are stable only within one parser_version.

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": {
      "job_id": "<job_id>"
    },
    "name": "datasheetvend_list_module_packets"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesAn extraction job in your account (or shared with it).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, but the description adds substantial behavior beyond them: deterministic, calls no model, extracts nothing, costs no credits, requires a DatasheetVend API key, and enumerates exactly which jobs are readable (own, TEAM-shared, PUBLIC). It also lists the specific refusal codes and their meanings, which is real operational context an agent needs.

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

Conciseness3/5

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

The content is front-loaded and largely relevant, but it is delivered as one dense run-on block mixing return fields, routing, auth, error codes and a trailing sentence about page/box/quoted-text provenance for blocks. That last sentence is about block content this tool explicitly does not return, which blurs the message. Bullet-style structuring and dropping or relocating that provenance sentence would make it much easier to scan.

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

Completeness5/5

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

There is no output schema, yet the description enumerates the returned fields including the status values (routed, routed_partial, nothing_routed) and the depth_recommendation semantics (fast or full_audit, null without a readable parse, a recommendation not a promise). Combined with the access rules, determinism statement, cost note and refusal codes, an agent has everything needed to call this correctly on a complex job-scoped tool.

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

Parameters4/5

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

The single job_id parameter is fully documented in the schema, so the baseline is 3. The description earns an extra point by clarifying which job_id values are actually resolvable: readable jobs are the caller's own, workspace TEAM-shared, and PUBLIC jobs, matching the REST API. It does not add format or lookup details, but the added visibility semantics are genuinely useful.

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 opens with a specific verb-plus-resource statement: for each named extraction module, what its packet holds of the job's parsed datasheet, then enumerates the returned fields (status, target package, notes, pages, blocks, chars, token_estimate, depth_recommendation). It explicitly distinguishes itself from the sibling that returns block bodies: 'No block bodies: read one module's blocks with datasheetvend_get_module_packet.' An agent can tell the two tools apart without opening either schema.

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 gives a clear use context (survey packet coverage across all modules for one job) and an explicit routing rule to datasheetvend_get_module_packet for block bodies. It also names the refusal conditions that mark a job as unusable (NOT_PARSED, PARSE_FAILED, PARSE_EXPIRED, DOCUMENT_TOO_LARGE), which helps the agent decide whether to call at all. It does not compare against assess_datasheet or diagnose_extraction, so alternatives are only partly covered.

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