Skip to main content
Glama
@prompthub/mcp
by LionelHao

PromptHub: describe file format

prompthub_describe_file_format

Returns exact JSON shapes and examples for repository files[], including content kinds and repoName/path rules, before create_repo, update_repo, or publish_session calls.

Instructions

Return the exact JSON shapes (with examples) for repo files[]: the text / conversation / workflow content kinds and the repoName/path naming rules. Call this before create_repo / update_repo / publish_session if unsure how to build files[]. To publish a GENERATED RESULT (doc/web page/image/file) instead of the prompt, call prompthub_describe_artifact_format.

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_file_format"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.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 it does disclose what the call yields: exact JSON shapes with examples, covering the three content kinds and naming rules. It does not state whether the guidance is static/versioned or whether there are any access requirements, which is a minor remaining gap for a documentation-lookup tool.

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, front-loaded with the primary 'what you get' clause and followed by the disambiguation rule. No filler or redundant restatement of the tool name.

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 zero-parameter reference tool with no output schema, the description supplies everything needed: what is returned, which content kinds are covered, when to call it, and the correct alternative for a different task. Nothing an agent needs in order to call it correctly is missing.

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 tool takes zero parameters, so there is no parameter meaning to add and the baseline of 4 applies. The description correctly implies a parameterless call by framing it as a reference lookup.

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?

States a specific verb and resource ('Return the exact JSON shapes ... for repo files[]') and enumerates the covered content kinds (text / conversation / workflow) plus the repoName/path naming rules. This lets an agent distinguish it from the sibling format-description tools without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('Call this before create_repo / update_repo / publish_session if unsure how to build files[]') and routes the agent to a named alternative when the goal is publishing a generated artifact rather than a prompt. Both when-to-use and when-to-use-something-else are stated.

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