Skip to main content
Glama
Earthcast MCP Server

Earthcast MCP Server

by ec-will

save_location

Save a frequently used location by alias—with a geocoded address or coordinates—so weather queries can reuse it without re-entering coordinates.

Instructions

Save a location for easy reuse in weather queries. Use this when a user wants to save a frequently used location like "home", "work", "cabin", or "aunt lisa's house". Accepts either a location query (which will be geocoded automatically) or direct coordinates. Saved locations can be used with all weather tools by providing location_name instead of coordinates. Makes it easy to ask "What's the weather forecast at home?" without repeatedly providing coordinates. SMART UPDATES: If the alias already exists and you only provide name/activities (without location details), it will update just those fields while preserving coordinates.

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": {
      "alias": "<alias>"
    },
    "name": "save_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoDisplay name for the location (required when using latitude/longitude). E.g., "My Home in Seattle"
aliasYesShort name/alias for this location (e.g., "home", "work", "cabin"). Will be lowercased automatically. Max 50 characters.
notesNoFreeform notes about this location for future reference
latitudeNoLatitude if providing coordinates directly. Not required if location_query provided.
longitudeNoLongitude if providing coordinates directly. Not required if location_query provided.
activitiesNoOptional activities you do at this location (e.g., ["boating", "fishing"], ["hiking", "camping"]). Helps AI provide relevant weather information. Each activity max 50 characters.
descriptionNoShort description for natural language matching (e.g., "My sister's house", "The lake house"). Helps Claude understand contextual references.
alternateNamesNoAlternate names/aliases for this location (e.g., ["sister's place", "Jane's house"]). Enables more natural language queries.
location_queryNoLocation to geocode and save (e.g., "Seattle, WA", "Paris, France", "Lake Tahoe, CA"). Will be geocoded using Nominatim. Not required if latitude/longitude provided.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses automatic geocoding via Nominatim, that either a query string or coordinates are accepted, and a non-obvious upsert rule where an existing alias is partially updated with coordinates preserved. It does not cover failure modes (e.g. geocoding miss), whether an existing alias with conflicting coordinates is overwritten, or any cap on stored locations.

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?

Front-loaded with purpose and trigger, and the SMART UPDATES block is clearly signposted. There is some redundancy: the 'easy reuse' idea is restated twice ('Makes it easy to ask "What's the weather forecast at home?"' repeats the opening sentence's point).

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 9-parameter mutation tool with no annotations and no output schema, the description covers the essentials an agent needs: what it writes, the two input modes, and the upsert behavior. What an agent still cannot infer is the response shape after saving and how geocoding failures are surfaced.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by explaining the mutually exclusive input modes (location_query gets geocoded versus direct latitude/longitude) and which fields participate in the smart-update path. The alias-lowercasing and max-length details are left to the schema, which is appropriate.

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

Purpose5/5

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

States a specific verb and resource ('Save a location') and immediately names the payoff ('easy reuse in weather queries'). It also distinguishes the operation from its siblings by describing the create/upsert role versus consuming saved locations via location_name.

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

Usage Guidelines4/5

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

Gives an explicit trigger with concrete examples ('when a user wants to save a frequently used location like "home", "work", "cabin"') and explains the downstream use case with other weather tools. It stops short of naming alternatives such as list_saved_locations or search_location for the case where the user just wants to look something up rather than persist it.

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