Skip to main content
Glama

Genexxis agent data APIs

webtools_base64_encode_url

Downloads a public URL (max 5 MB, redirects followed and re-checked) and returns its content as base64 with a data URI prefix, content type, byte size, sha256 and final URL. Price: $0.003 USDC per call, paid with x402 on Base.

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL of the file or page to encode (max 5 MB)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses redirect behavior, size limits, return fields, and payment pricing via x402 on Base. It stops short of describing error handling or timeout behavior, but covers the key operational traits.

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?

Two sentences with no wasted words. The primary operation and constraints are front-loaded, followed by pricing. Every clause earns its place.

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 tool with no output schema, the description fully explains what is returned: base64 data with data URI prefix, content type, byte size, sha256, and final URL. It also covers cost and redirect handling, leaving no critical gaps for invocation.

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?

The schema documents the single URL parameter at 100% coverage, including the max 5 MB and public http(s) constraints. The description repeats that constraint and adds redirect behavior, but does not add meaning beyond the schema for the parameter itself.

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 clearly states a specific action and resource: downloads a public URL and returns its content as base64 with metadata. It distinguishes itself from unrelated siblings by describing a unique web-fetch-and-encode operation, though it does not explicitly name or contrast with any alternative tool.

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?

The description provides input constraints (public URL, max 5 MB) but does not explain when to use this tool versus alternatives, nor does it state when not to use it. Usage is implied only by the purpose statement.

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