Skip to main content
Glama

share_text

Publish text at a public URL and get the link back. Accepts up to 2MB of content, measured in UTF-8 bytes. A filename ending in .html or .htm produces a page that renders live in the browser. A .csv or .json file opens in NudgeHost's table or JSON viewer. A .md or .markdown file shows as formatted text, with headings, lists, tables, task lists and links, a Source view, a Copy source button and a raw text address; HTML inside it shows as typed and images are not loaded. Any other filename, including .txt, produces a page that shows the text as plain text, with a Copy text button and a raw text address. The link is public: anyone who has it can open the file without signing in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesThe text to publish, exactly as it should be stored. For an .html filename this is the complete HTML document. May be empty.
filenameYesThe name to give the file, including an extension. End it in .html or .htm to publish a web page, or .md to show Markdown as formatted text. Any other extension, apart from .csv and .json, shows the text as plain text. Up to 200 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / filename / description
      Previous value: -"The name to give the file, including an extension. End it in .html or .htm to publish a web page. Any other extension, apart from .csv and .json, shows the text as plain text. Up to 200 characters."New value: +"The name to give the file, including an extension. End it in .html or .htm to publish a web page, or .md to show Markdown as formatted text. Any other extension, apart from .csv and .json, shows the text as plain text. Up to 200 characters."
  2. Changed1 schema field changed
    • changedInput schema / properties / filename / description
      Previous value: -"The name to give the file, including an extension. End it in .html or .htm to publish a page the recipient can read in the browser. Up to 200 characters."New value: +"The name to give the file, including an extension. End it in .html or .htm to publish a web page. Any other extension, apart from .csv and .json, shows the text as plain text. Up to 200 characters."
  3. First observed

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 the size cap, that the resulting link is public with no sign-in required, and rich rendering behavior keyed off the extension. It omits whether sharing is reversible/expirable and error behavior on oversized content.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded in the first sentence, which is good. But the .md sentence enumerates an excess of UI affordances (headings, lists, tables, task lists, links, Source view, Copy source button, raw text address) that mostly repeats the schema's rendering description and inflates the definition.

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 two-param tool with no output schema, the description covers size limits, output format per extension, and the public/no-auth nature of the returned link. Only the absence of routing guidance relative to sibling tools and any note on failure modes keeps it short of complete.

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?

Schema coverage is 100% and both parameters are documented, so the baseline is 3. The description adds genuine meaning beyond the schema by explaining how filename extensions select rendering modes (.html live render, .csv/.json viewers, .md formatted view, otherwise plain text), giving the agent a clear mental model for choosing the filename.

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 and resource ('Publish text at a public URL and get the link back'), so an agent knows exactly what happens. It does not name or differentiate itself from siblings like create_upload_url or complete_upload, leaving the choice to inference.

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 2MB UTF-8 byte limit implicitly signals when this tool is unsuitable and a larger-upload flow is needed, and the extension behavior conveys the intended use cases. However it never explicitly says when to prefer share_text over create_upload_url or the upload siblings, so usage is only implied.

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.