Skip to main content
Glama

Get the form fields of a category

kleinanzeigen_get_category_fields
Read-only

Fetches the ad form fields and allowed attribute values for a Kleinanzeigen category before you create a listing, helping you fill unknown or category-specific requirements correctly.

Instructions

Opens the Kleinanzeigen ad form for a category (signed in, nothing is submitted) and returns its fields, including the special_attributes keys and allowed values (e.g. condition). Use it before creating an ad in an unfamiliar category.

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": {
      "category": "<category>"
    },
    "name": "kleinanzeigen_get_category_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryYesId path like "161/278" or a name like "Elektronik > Notebooks".

Output Schema

NameRequiredDescriptionDefault
fieldsYes
categoryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag readOnlyHint and openWorldHint, but the description adds real context beyond them: the operation requires being signed in and uses a live browser form, yet submits nothing. It doesn't mention latency or how the form page behaves, which would have justified a 5.

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 short sentences, both earning their place. The core action and the surprise side-effect disclosure come first, with the usage hint last.

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 one-parameter, read-only discovery tool with an output schema, the description covers what it does, its auth state, its side-effect profile, what it returns conceptually, and when to reach for it. 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter's description already documents both accepted forms ('161/278' or 'Elektronik > Notebooks'). The description adds only the idea of an 'unfamiliar category' as a choice heuristic, not new syntax or format detail, so the baseline 3 applies.

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 concrete verb and resource: it opens the ad form for a category and returns its fields, including special_attributes keys and allowed values. The parenthetical '(signed in, nothing is submitted)' plus the usage clause makes it distinguishable from the create/publish siblings. Language: 'Opens the Kleinanzeigen ad form for a category'.

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?

Explicitly says to use it 'before creating an ad in an unfamiliar category', which gives a clear trigger condition. It doesn't name a specific alternative sibling (e.g. kleinanzeigen_create_ad) or state when not to use it, so it falls short of full routing guidance.

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