Skip to main content
Glama

nlp

Task NLP su un testo: classificazione, sentiment, keyword extraction, outline. task='classifica|sentimento|keyword|outline'. Risponde in JSON strutturato.

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": {
      "task": "<task>",
      "testo": "<testo>"
    },
    "name": "nlp"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYes
testoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 one behavioral trait beyond structure — the response is structured JSON — but says nothing about text length limits, supported languages, latency, or what each task's JSON payload contains. Useful but thin for a tool with zero annotation coverage.

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?

Two short sentences, front-loaded with the purpose and immediately followed by the value constraint. The only mild redundancy is restating the task list as enum values, though that repetition usefully bridges the English labels to the Italian identifiers.

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?

The tool is simple (two required string parameters, no nesting, no output schema), and the description covers purpose and the task enumeration. It falls short on return-value structure — 'JSON strutturato' does not tell the agent what fields to expect per task — which matters precisely because no output schema exists.

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 0% and the schema declares no enum, so the sentence listing task='classifica|sentimento|keyword|outline' adds genuinely necessary meaning by supplying the allowed values and mapping the English task names to Italian identifiers. However, the 'testo' parameter is never elaborated (format, size, language) and no per-task input requirements are given.

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 names a concrete verb and resource (NLP task on a text) and enumerates the four supported operations: classification, sentiment, keyword extraction, outline. It does not differentiate from siblings, but the sibling list contains unrelated lookup utilities rather than competing NLP tools, so the purpose is still unambiguous.

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 only implied: the agent learns it should pick one of four task values, but there is no statement of when to choose this tool over an alternative, nor any prerequisite such as input length or language constraints. Adequate for a self-contained utility, but no explicit 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.