Skip to main content
Glama

Split names, gender, title and salutation

analyze_names

Reads a person or organisation name: splits last and first name (also when written in one field), recognises title, gender and company names, and writes the formal salutation for a letter in the language of the country («Sehr geehrter Herr Dr. Müller», «Gentile Dr.ssa Rossi»). Up to 200 per call. Each item uses one processing from the account (the monthly free ones first, then subscription and packs); the result says how many are left.

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": {
      "items": "<items>"
    },
    "name": "analyze_names"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesThe names to read.
languageNoLanguage of labels and messages in the result. Field names are always English. Default: the language of the account.
default_countryNoCountry of the items that do not state their own (ISO 3166-1 alpha-2 code, e.g. "DE", or name). Without it they are Italian.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, closed-world behaviour. The description adds the important side effect the annotations only hint at: each item burns one processing credit, free credits are consumed first, then subscription and packs, and the response reports the remaining balance. That is real context beyond the structured fields, though return shape details remain sparse.

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?

Front-loads the core capability in one dense sentence and follows with the batching limit and credit model. The opening sentence is long with several parenthetical examples, but no sentence is redundant.

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 three-parameter batch parser with no output schema, the description covers capability, batch ceiling, billing semantics, and the salutation language logic. It could say more about the per-item result fields, but nothing critical for correct invocation 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%, so parameters are already documented. The description only adds the useful note that a full name may arrive in a single field; it says nothing extra about language or default_country beyond what the schema states. 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 specific verb-and-resource pair ('Reads a person or organisation name') and enumerates exactly what is produced: first/last split, title, gender, company detection, and a formal salutation localised to the country language, with concrete examples. This is clearly distinct from the check_* siblings, which validate rather than parse names.

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?

The description gives useful operating context ('Up to 200 per call', per-item credit consumption) but never says when to choose this tool over alternatives or when not to use it. Usage is implied by the capability statement rather than stated as guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources