Skip to main content
Glama
machship-mcp

machship-mcp

Get Manifest Label PDF

machship_get_manifest_label_pdf
Read-onlyIdempotent

Fetch a manifest PDF by manifest ID and return base64 content, content type, and size for downloading or archiving the document.

Instructions

Returns the manifest document as a PDF by manifest ID. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header.

Args:

  • manifestId (number): Manifest ID

Input Schema

NameRequiredDescriptionDefault
manifestIdYesManifest ID

Output Schema

NameRequiredDescriptionDefault
errorsNoValidation errors returned by Machship, if any
objectNoResponse payload from the Machship API

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.1
    • addedInput schema / properties / manifestId / maximum
      Added value: +9007199254740991
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "errors": {
      +      "anyOf": [
      +        {
      +          "items": {},
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Validation errors returned by Machship, if any"
      +    },
      +    "object": {
      +      "description": "Response payload from the Machship API"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive behavior, so the safety profile is covered. The description adds genuine context by naming the return payload and noting that contentType originates from the response header, but it says nothing about size limits, expiry of the generated document, or whether repeated calls regenerate the PDF.

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?

Front-loaded with the core purpose and return shape in two short sentences, which is effective. The trailing Args block is largely redundant with the schema and could be dropped, but it does not obscure the main statement.

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?

An output schema exists, so the description needn't enumerate everything returned, and the safety profile is annotation-covered. Still missing is the differentiation from sibling PDF/file-info tools, which matters given how many near-identical manifest PDF endpoints exist in this catalogue.

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?

With one parameter and 100% schema description coverage, the schema already fully documents manifestId. The 'Args' block merely restates '(number): Manifest ID' and adds no constraints or sourcing guidance beyond what the schema shows.

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?

States a specific verb and resource ('Returns the manifest document as a PDF') scoped by manifest ID, which is clear on its own. It does not, however, distinguish itself from close siblings such as machship_get_manifest_pdf_file_info (file metadata) or machship_get_manifest_label_pdf_by_consignment, so an agent must still infer which of the three to pick.

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?

There is no when-to-use guidance at all — nothing says to call this when you need the actual PDF bytes rather than the metadata from machship_get_manifest_pdf_file_info, or that the manifest must already exist. The agent is left to guess among several manifest/PDF siblings.

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

Deploy Server

Other Tools