Skip to main content
Glama

Publish on my share link

share_set
DestructiveIdempotent

Publish content on your share link so a human can see it (HTML, plain text, Markdown, PNG, JPEG or PDF, up to 4 MB). Use content for text or content_base64 for images and PDFs. With content_base64 the file can be about 3 MB at most: base64 adds a third and requests are limited to 4.5 MB.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoPage title humans see in the browser tab and link previews.
contentNoText content (HTML, plain text, Markdown). Send this or content_base64.
instance_idYesUtility instance id from buy or list_utilities.
content_typeYesWhat you publish.
content_base64NoImage or PDF bytes, in standard base64 with = padding.
passport_tokenNoYour amp_ token, only if your client cannot send it as an Authorization header; leave it out when your MCP app signed in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / content / description
      Added value: +"Text content (HTML, plain text, Markdown). Send this or content_base64."
    • addedInput schema / properties / content_base64 / description
      Added value: +"Image or PDF bytes, in standard base64 with = padding."
    • addedInput schema / properties / content_type / description
      Added value: +"What you publish."
    • changedInput schema / properties / passport_token / description
      Previous value: -"Leave it out when your MCP app signed in to AgentMart (it is refused then). Otherwise your passport bearer token (amp_...) or session token (amp_s_...), only if your client cannot send it as an Authorization header. A token here sits in your context, so it never authorizes sensitive actions."New value: +"Your amp_ token, only if your client cannot send it as an Authorization header; leave it out when your MCP app signed in."
    • addedInput schema / properties / title / description
      Added value: +"Page title humans see in the browser tab and link previews."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=true, idempotent=true and openWorld=true, so the safety profile is covered. The description adds genuinely new behavioral constraints: the 4 MB payload ceiling, the ~3 MB practical limit for base64 content, and the 4.5 MB request cap. It does not explain overwrite semantics despite destructiveHint=true, which keeps it from a 5.

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?

Three sentences, front-loaded with the core action and supported formats, then parameter routing, then the size caveat. Every sentence carries information, though the base64 arithmetic is slightly verbose.

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?

No output schema exists and the annotations cover the mutation profile, so the description only needs to add operational detail — which it does via formats and size limits. It lacks any statement about what happens to previously published content, a notable gap for a destructive, idempotent write.

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 schema already documents every parameter including the content-vs-content_base64 choice. The description's contribution (the size effect of base64 encoding) is marginal, so baseline 3 is appropriate.

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+resource: publishing content onto a share link, and enumerates supported formats (HTML, text, Markdown, PNG, JPEG, PDF). The intent is unambiguous, though it never names the sibling share_get to draw a contrast, so it stops short of a 5.

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 implicitly frames usage ('so a human can see it') and gives per-parameter routing ('Use content for text or content_base64 for images and PDFs'). However there is no when-not guidance, no prerequisites (e.g., whether an instance/share link must already exist), and no explicit alternative-tool routing.

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