Skip to main content
Glama
il-il1
by il-il1

generatePdfReport

Generate a PDF security report for a mobile app scan using its hash, returned as a base64 string.

Instructions

Generate PDF security report by hash. Returns PDF as base64 string.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hashYesHash of the scan to generate PDF report
Behavior3/5

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

No annotations are provided, so the description must fully disclose behavior. It mentions returning a base64 string, which is good, but it does not cover potential errors, side effects, or performance characteristics. It is adequate but lacks depth.

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?

The description is two concise sentences that front-load the main action and result. No unnecessary words or fluff.

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

Completeness4/5

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

Given the tool's simplicity (one parameter, no output schema), the description covers the essential input and output. However, it could be more complete by clarifying that it generates a full report compared to the granular JSON sections from sibling tools.

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?

Schema coverage is 100%, so the baseline is 3. The description adds minimal extra meaning beyond the schema's description of the 'hash' parameter. No additional constraints or clarifications are provided.

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 clearly states the action (Generate), the resource (PDF security report), and the key parameter (by hash). It distinguishes from sibling tools like getJsonReport that return JSON instead of PDF.

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?

The description implies that this tool is for generating a PDF report, but it does not explicitly state when to use it over alternatives like getJsonReport or the many JSON section tools. No exclusions or prerequisites are mentioned.

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/il-il1/MobSF-MCP'

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