Skip to main content
Glama
fop-label-mcp

fop-label-mcp

by kntys

describe_template

Returns a template’s size, elements, required placeholders, A4 sheet capacity, and CSV header example to validate print data and plan label output.

Instructions

1つのテンプレートの詳細(サイズ、要素、必要な {{項目}}、A4 に入る面数、CSV 見出し例)を返す。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "template": "<template>"
    },
    "name": "describe_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
templateYesテンプレート名(例: name_badge)または .json ファイルのパス
template_dirNo追加のテンプレートフォルダ(許可されたフォルダの中)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the rich return payload, which implies a read-only lookup, but it says nothing about what happens when the template name is not found, permission constraints on the allowed template_dir, or whether the call is side-effect free.

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?

A single front-loaded sentence with a parenthetical payload list; every clause conveys information the agent needs and there is no filler.

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?

With no output schema, the description correctly compensates by enumerating the returned fields, which is the most important thing for this tool. Only the error/not-found behavior and the list_templates relationship remain unaddressed, which are minor for a two-parameter read.

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% – both 'template' (name or .json path) and 'template_dir' (additional folder within allowed folders) are documented in the schema. The description adds no meaning beyond that, so the baseline of 3 applies.

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 ('1つのテンプレートの詳細…を返す') and enumerates the payload (size, elements, required {{placeholders}}, A4 face count, CSV header example), so the agent knows exactly what comes back. It does not name or contrast with list_templates, so the boundary with a sibling is left implicit.

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?

Usage is implied rather than stated: the agent can infer this is the single-template inspection step before generate_pdf, but there is no explicit 'use when…' clause and no exclusion pointing to list_templates for enumeration or preview_label for rendering. Adequate but requires inference.

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