Skip to main content
Glama

utils

Utilita' per agenti: JSON validation, hash, base64, slugify. operazione='hash'|'base64'|'slug'|'json', input='...'. Esempio: operazione='hash', input='esempio'.

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": {
      "operazione": "<operazione>"
    },
    "name": "utils"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNo
operazioneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does not say what happens on invalid JSON input (exception vs. false vs. message), what the return value looks like for each operation, or whether operations are pure/deterministic — all of which matter for a multi-purpose utility tool.

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?

Three short sentences: capability list first, then the operation values, then a concrete example — well front-loaded with no filler. Slightly compressed to the point that per-operation meaning is lost.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with four distinct modes, no output schema, no annotations, and zero schema description coverage, the definition should state at minimum what each mode returns and how failures surface. It does neither, leaving an agent unable to predict results before calling.

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 0%, so the description is doing real work by enumerating the valid 'operazione' values that the schema leaves as an unconstrained string — a meaningful addition. But it says nothing about what 'input' means per operation (raw text, JSON string, URL-encoded data), and it omits the fourth operation's behavior mapping beyond the label 'json'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a grab-bag of capabilities (JSON validation, hash, base64, slugify) and ties three of them to the 'operazione' values, which is enough to tell it is a generic helper rather than a domain tool like iban or ateco. However, each sub-operation's exact purpose is left implicit: it is unclear whether 'json' validates, parses or formats, what hash algorithm is used, or whether base64 encodes or decodes.

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 example (operazione='hash', input='esempio') shows how to invoke the tool, which implies usage, but there is no statement of when to pick this tool over a sibling or which operation suits which need. No exclusions or preconditions are given.

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.