Skip to main content
Glama

get-forecast

Retrieve a weather forecast for a specific location by latitude and longitude to check upcoming conditions and plan accordingly.

Instructions

Get weather forecast for a location

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "get-forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
latitudeYes
longitudeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations provided, the description carries the full disclosure burden, yet it says nothing about forecast horizon, units (metric/imperial), data source, or read-only/rate-limit behavior. Only "Get" weakly implies a non-mutating read, which is far short of what an unannotated tool needs.

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?

A single short, front-loaded sentence with zero padding or redundant restatement of the name. It is efficient, though its brevity reflects under-specification rather than disciplined density.

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 an unannotated tool with no output schema and zero-documented parameters, the description should cover units, forecast duration, and return shape. None of that is present, so an agent cannot fully predict what it will get back or how to interpret the coordinates.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so nothing in structured data explains the two required parameters beyond their numeric min/max bounds. The description adds no meaning such as decimal degrees, sign conventions for south/west, or accepted ordering of latitude and longitude.

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?

"Get weather forecast for a location" states a specific verb (Get) and resource (weather forecast), so an agent can tell what the tool returns at a high level. However, it offers no differentiation from the sibling get-alerts, which also serves weather data for a location.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of when to choose get-alerts instead, and no stated preconditions. The only implicit cue is that the tool is for forecasts, leaving the agent to infer selection between the two siblings.

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

Deploy Server

Other Tools