Skip to main content
Glama
fop-label-mcp

fop-label-mcp

by kntys

list_templates

Lists available label and badge templates with names, millimeter sizes, and placeholder fields so you can choose the right template for PDF generation.

Instructions

同梱・指定フォルダのテンプレート一覧(名前、サイズ mm、使う {{項目}})を返す。

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

Input Schema

NameRequiredDescriptionDefault
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 provided, so the description carries the behavioral burden. It implies a read-only listing and discloses the returned fields and folder scope, but it does not mention permissions, error behavior for invalid folders, pagination, or whether template_dir must be pre-authorized beyond the schema's note.

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?

The definition is one front-loaded sentence with no wasted wording. It states the resource, scope, and returned fields efficiently.

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 simple read-only list tool with one optional parameter and no output schema, the description gives enough information about what is returned and the default/specified folder scope. The main missing piece is explicit routing versus describe_template.

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%, so the optional template_dir parameter is already documented as an additional folder within allowed folders. The description adds the useful default context of bundled templates, but does not provide syntax or other 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?

The description uses a specific verb and resource: it returns a list of templates, with scope "同梱・指定フォルダ" and returned fields "名前、サイズ mm、使う {{項目}}". This clearly identifies the tool as a listing operation, though it does not explicitly distinguish it from the sibling describe_template.

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 by "一覧を返す": use it when you need a collection of templates. It does not explicitly say when to choose this over describe_template or other siblings, so the agent must infer that this is for listing rather than inspecting one template.

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