Skip to main content
Glama

Snippet

snippet
Read-onlyIdempotent

Dictionary entry summary for a German word from DWDS.de, part of speech (Wortart), the base lemma, and a link to the full dictionary entry. Example: snippet({ query: "Haus" }).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "Haus"
    },
    "name": "snippet"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesGerman word, e.g. "Haus".

Output Schema

NameRequiredDescriptionDefault
countNo
itemsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / properties / body
      Removed value: -{
      -  "description": "Text response if JSON parsing failed",
      -  "type": "string"
      -}
    • addedOutput schema / properties / count
      Added value: +{
      +  "type": "number"
      +}
    • removedOutput schema / properties / format
      Removed value: -{
      -  "description": "Response format (json or text)",
      -  "type": "string"
      -}
    • addedOutput schema / properties / items
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "input": {
      +        "type": "string"
      +      },
      +      "lemma": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      },
      +      "wortart": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / query / description
      Added value: +"German word, e.g. \"Haus\"."
  3. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "query": "Haus"
      +  },
      +  {
      +    "query": "Liebe"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "JSON dictionary snippet for a German word from DWDS API",
      +  "properties": {
      +    "body": {
      +      "description": "Text response if JSON parsing failed",
      +      "type": "string"
      +    },
      +    "format": {
      +      "description": "Response format (json or text)",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is fully covered and the description need not repeat it. The description adds genuine context by naming the upstream source (DWDS.de) and the shape of the returned data. It does not address behavior for unknown or non-German queries, which is the remaining behavioral gap.

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?

One front-loaded sentence names the source and the returned fields, followed by a compact example. Slightly wasted space: the example duplicates the examples already present in the input schema, so it is redundant rather than harmful.

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?

With one required parameter, full schema coverage, an output schema, and rich annotations, the description only needs to establish the source and what kind of data comes back, which it does. The only meaningful omission is failure behavior for words not found on DWDS.de.

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% and the single 'query' parameter is already documented as a German word with an example, so the schema carries the full burden. The description's mention of 'a German word' matches rather than extends the schema, and adds no format or casing guidance. Baseline 3 applies.

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 states a concrete resource and its source: a dictionary entry summary for a German word from DWDS.de, returning part of speech (Wortart), base lemma, and a link to the full entry. The name 'snippet' alone would be opaque, so the description is doing real work. It does not distinguish itself from the sibling dwds_frequency, which likely competes for similar lookups.

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: an agent can infer it is for looking up a German word's dictionary summary. There is no explicit when-to-use guidance, no statement of when another tool (e.g. dwds_frequency) is preferable, and no note on how to handle words that are not in DWDS.

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.