Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_payslips_download_retrieve

Read-onlyIdempotent

Download a payslip PDF by ID. Returns base64-encoded PDF bytes with file size and content type, leaving data unchanged.

Instructions

๐ŸŸข READ-ONLY ยท returns a PDF ยท Payslips ยท GET /payslips/{id}/download/

Download payslip PDF

Endpoint for downloading a PDF of the payslip.

Returns the document as base64-encoded PDF bytes plus its size and content type. Nothing is modified.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Schema Changelog

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

  1. First observedv2.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, and the description reinforces this with 'Nothing is modified.' It goes beyond annotations by specifying the return shape: base64-encoded PDF bytes, size, and content type. It does not discuss auth or rate limits, but those are not necessary for a straightforward read-only download.

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 short, front-loaded with a keyword summary, and puts the return behavior last. The middle sentence 'Endpoint for downloading a PDF of the payslip' is redundant with the first line and title, preventing a perfect score.

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?

For a one-parameter read-only PDF download with no output schema, the description is complete: it states the resource, endpoint, required id, return format, and non-mutating behavior. An agent has everything needed to invoke it correctly.

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 schema has a single string `id` with no description and 0% coverage, but the endpoint line 'GET /payslips/{id}/download/' supplies the missing semantics: `id` is the payslip identifier and is used as a URL path parameter. It could be more explicit about the id's source/format, but the meaning is recoverable.

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 names a specific verb and resource ('Download payslip PDF'), states the REST endpoint, and specifies the response is a PDF. This distinguishes it from sibling payslip operations like wafeq_payslips_retrieve, update, and destroy, and from other PDF download endpoints.

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?

The endpoint and 'Download payslip PDF' make it clear when to use the tool: whenever the PDF version of a payslip is needed. It does not explicitly contrast with wafeq_payslips_retrieve or state when not to use it, but the context is clear and the lack of exclusions is minor for such a specialized endpoint.

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/ohneben/Wafeq-MCP'

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