Skip to main content
Glama

Hypr Markets operator

Upload logo, favicon or social image

upload_asset

Uploads an image (PNG, JPEG, WebP or ICO, up to 512 KB) as base64. It updates the draft; it goes live when the person approves publishing.

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": {
      "kind": "<kind>",
      "dataBase64": "<dataBase64>"
    },
    "name": "upload_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesWhich image
apiKeyNoYour broker's agent key (obk_boot_... or obk_live_...), returned by create_broker. Pass it on every call except create_broker.
dataBase64YesThe image bytes, base64 encoded, without a data: prefix

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive, non-idempotent write but say nothing about state effects. The description adds real context beyond them: mutations land in the draft and only go live on human approval, plus hard format and 512 KB size limits. It omits what happens on re-upload (replace vs. add), which matters given idempotentHint=false.

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, zero filler, with the most actionable facts (formats, size, encoding) front-loaded before the state-effect note.

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?

For a simple three-parameter upload with a fully described schema and no output schema, the definition covers formats, encoding, size limit, and write target. Minor gaps remain around replacement behavior and failure handling.

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 description coverage is 100%, so the enum values, the base64 encoding rule, and the apiKey instructions are already documented. The description only adds the constraint that the bytes must be one of four image types under 512 KB; that is a small increment over the schema baseline.

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?

Specific verb and resource ('Uploads an image ... as base64') with accepted formats and a size cap, plus the enum-covered targets (logo/favicon/og) carried by the title and schema. No sibling names an alternative upload path, so differentiation is implicit but clear.

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 draft-versus-live sentence implies this is a pre-publish step, but it never explicitly says 'call this before request_publish' or excludes any situation. Usage is inferable rather than stated.

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.