Skip to main content
Glama
MCP Server TypeScript

MCP Server TypeScript

weather

Fetches simulated meteorological data for a specified location and returns temperature in Celsius or Fahrenheit.

Instructions

Obtém informações meteorológicas simuladas para uma localização

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": {
      "location": "<location>"
    },
    "name": "weather"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitsNoUnidade de temperatura (padrão: celsius)
locationYesNome da cidade ou localização

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the single most important behavioral fact: the weather data is simulated, so results must not be treated as real observations. However, it says nothing about determinism, accuracy, rate limits, or what the response contains, leaving meaningful behavioral gaps for an unannotated tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence, front-loaded with the verb and resource, with no filler. Every word, including "simuladas", carries information the agent needs.

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?

For a two-parameter tool with complete schema coverage and no output schema, the definition covers what the tool does and flags the mock-data caveat, which is the main risk. It stops short of describing the shape of the returned weather data, a minor gap given there is no output schema.

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%, so both parameters (location, units with enum and default) are fully documented in the schema. The description only echoes the location parameter ("para uma localização") and adds nothing about units or defaults, so the 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?

States a specific verb and resource ("Obtém informações meteorológicas") scoped to "uma localização", and adds the material qualifier "simuladas", which tells the agent the data is mock rather than real. It does not explicitly differentiate from siblings, but calculator and timestamp are unrelated, so the resource noun does the distinguishing work.

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 prerequisites, and no mention of alternatives or exclusions. The agent must infer that this is the tool for weather lookups purely from the resource name.

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