Skip to main content
Glama

SalesHookAI

Weather

getWeather
Read-onlyIdempotent

Holt die aktuelle Wettervorhersage für eine Stadt oder den Firmenstandort. Fetches the current weather forecast for a city or the company location.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
cityNoStadtname (optional, falls leer wird die Stadt aus dem Firmenprofil verwendet). City name (optional, defaults to company profile city).

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?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=true, so the safety and external-data profile is covered by structured fields. The description adds little beyond them, and it leaves genuine ambiguity: the wording mixes "current weather" with "forecast" (present conditions vs. a multi-day forecast), and says nothing about units, language, or the behavior when the company profile has no city set.

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?

The definition is very short and front-loaded, with the action stated in the first clause. The only inefficiency is that the German and English sentences are exact translations of each other, duplicating the same information twice for a single-parameter tool.

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?

For a one-optional-parameter read tool with full annotation coverage this is close to sufficient, but there is no output schema, so the description is the only place the agent could learn the shape of the result (temperature, condition, units, period). That gap, plus the current-vs-forecast ambiguity, keeps it at minimum viable.

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 schema already states that the city is optional and defaults to the company profile city. The description merely restates that fallback behavior, adding no syntax, format, or validation detail beyond the schema. 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 gives a specific verb and resource ("Holt die aktuelle Wettervorhersage" / "Fetches the current weather forecast") plus its scope (a city or the company location). No sibling tool is named, but none of the listed siblings are weather-related, so the resource alone is highly distinguishing.

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 the tool can be called with or without a city, and that omitting it falls back to the company profile. There is no explicit statement of when this tool is appropriate or any precondition/exclusion, but with an unmistakably distinct domain the implied guidance is enough to select it.

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