Skip to main content
Glama

grade_artifact

Grades documents or raw text into 1–5 Human-AI Energy Tiers and generates SVG stickers or Markdown footer labels for quick co-authorship assessment.

Instructions

Grade a document (.md/.txt/.pptx/.docx/.html) or text into 1-5 Human-AI Energy Tiers with Claude-HUD dot-matrix bar, SVG sticker (dot/micro/stamp/card), or --stamp Markdown footer.

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": "grade_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNobi
textNoRaw text content (used if file_path is omitted).
styleNodot
themeNodark
titleNoDisplay title on the energy label.
svg_outNoOptional output path to save the SVG sticker.
file_pathNoOptional path to .md/.txt/.pptx/.docx/.html/.pdf file.
stamp_markdownNoIf true and file_path is .md, auto-stamp sticker at bottom of file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It partially meets it by disclosing the output artifacts (SVG sticker file, `--stamp` Markdown footer), which signals that calling it can write to disk. It never states that stamping mutates the input .md file in place, nor mentions permissions, overwrite behavior, or cost/latency.

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?

A single front-loaded sentence that leads with the verb and the tiering outcome before listing output styles. It is dense with backticked jargon but wastes no words and has no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Eight optional parameters, no required fields, no annotations, and no output schema. The definition never explains that at least one of `text` or `file_path` must be supplied, and never describes the returned grade payload, so an agent must inspect the schema to call it correctly.

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 coverage is 63%, so the baseline is 3. The description enumerates supported file types but omits `.pdf` from `file_path` even though the schema lists it, a small inconsistency, and it says nothing about `lang`, `theme`, `title`, or `svg_out`, leaving the description to add almost no meaning beyond the schema.

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 (grade) and resource (document or text) and names the concrete output: a 1-5 Human-AI Energy Tier plus one of four sticker styles. It does not differentiate itself from the sibling grade_coauthorship or render_energy_badge, both of which sound adjacent, so the agent still has to guess which grader to call.

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

Usage Guidelines2/5

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

No sentence says when to use this versus grade_coauthorship or render_energy_badge, nor any exclusion or precondition. The only implicit signal is that this tool covers documents/text while the sibling names hint at coauthorship and badge rendering, but the definition itself offers no routing guidance.

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