Skip to main content
Glama
@prompthub/mcp
by LionelHao

PromptHub: describe artifact format

prompthub_describe_artifact_format

Explains PromptHub artifacts versus repository files and how to publish each output type—inline Markdown/HTML or binary upload—so you can correctly publish generated results and 产物.

Instructions

Explain PromptHub ARTIFACTS (generated outputs in the repo's 产物/Artifacts panel) vs repo FILES (the prompt itself), and how to publish each artifact type (inline MARKDOWN/HTML vs binary upload). Call this when the user asks to publish a generated result / output / 产物.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "prompthub_describe_artifact_format"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. 'Explain' makes clear this is an informational, non-mutating tool, and the description discloses the scope of what gets explained (artifact vs file distinction, publishing mechanics per artifact type). It does not state the form of the response (documentation text vs structured answer), which is the main remaining gap for a description-only tool.

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?

The topic and scope are front-loaded in the first clause, and the trigger condition follows in a second clause. It is compact with no filler, though the 'Call this when...' sentence partially restates the purpose already established in the first sentence.

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 zero-parameter explainer with no output schema, the definition covers what an agent needs: subject scope, the artifact/file distinction, the publishing-type breakdown, and the trigger condition. A minor omission is not naming the downstream tools (prompthub_publish_artifact, prompthub_upload_artifact) the explanation will point the user toward.

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?

The input schema has zero parameters, and the rule sets the baseline at 4 for this case. The description correctly implies no input is required and focuses entirely on the topic being explained.

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 opens with a specific verb ('Explain') and names the exact subject: PromptHub ARTIFACTS vs repo FILES, plus the artifact-type publishing distinction (inline MARKDOWN/HTML vs binary upload). It explicitly disambiguates artifacts from prompt files, which is the key confusion an agent could have when calling this alongside prompthub_describe_file_format.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear trigger: 'Call this when the user asks to publish a generated result / output / 产物.' That is explicit when-to-use guidance. It lacks an explicit exclusion or handoff statement (e.g., 'this only documents formats; use prompthub_publish_artifact to actually publish'), leaving the boundary with the sibling publish/upload tools implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.