Skip to main content
Glama
BACH-AI-Tools

Weather By Api Ninjas

v1weather

Get weather data for any location using coordinates, zip code, city, state, or country parameters through the API Ninjas Weather API.

Instructions

API Ninjas Weather API endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoLatitude of desired location. If used, lon parameter must also be supplied.0
lonNoLongitude of desired location. If used, lat parameter must also be supplied.
zipNo5-digit Zip code (United States only).0
cityNoCity name.
stateNoUS state (United States only).
countryNoCountry name.
Behavior1/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure but provides none. It doesn't indicate whether this is a read or write operation, what permissions might be needed, rate limits, error conditions, or what kind of response to expect. The description is essentially just a label with no behavioral information.

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

Conciseness2/5

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

While technically concise (only 5 words), this is a case of under-specification rather than effective conciseness. The description doesn't contain enough information to be useful. Good conciseness means conveying essential information efficiently, not omitting critical information entirely. The single sentence doesn't earn its place by providing meaningful guidance.

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

Completeness1/5

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

For a weather API tool with 6 parameters and no output schema, the description is completely inadequate. It doesn't explain what weather data is returned, in what format, or what the tool actually accomplishes. With no annotations and no output schema, the description should provide much more context about the tool's behavior and expected outputs, but it provides essentially none.

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?

The description provides no parameter information whatsoever. However, with 100% schema description coverage, all 6 parameters are well-documented in the schema itself with clear descriptions of what each represents and usage constraints. The baseline of 3 is appropriate since the schema does the heavy lifting, though the description adds zero value beyond what's already in the structured data.

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

Purpose2/5

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

The description 'API Ninjas Weather API endpoint' is tautological - it essentially restates the tool name 'v1weather' without specifying what the tool actually does. It doesn't provide a clear verb+resource combination (like 'get weather data for a location') that would help an agent understand its purpose. While it mentions the API provider, it fails to articulate the core function.

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

Usage Guidelines1/5

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

The description provides absolutely no guidance on when to use this tool. There are no sibling tools mentioned, but even for a standalone tool, the description doesn't indicate what problem it solves, what inputs are expected, or any context for its application. An agent would have no idea when this tool is appropriate versus alternatives outside this server.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/weather_by_api_ninjas'

If you have feedback or need assistance with the MCP directory API, please join our Discord server