Skip to main content
Glama

set_history_location

Records where the signed-in user was over a range of past days, so their history stops assuming. Use it when the user corrects a stretch — get_my_history marks inherited days with locationAssumed, and the history calendar offers those stretches for correction. Pass a cityId from search_city, or lat/lon. Changes only the location: whether they went outside that day is untouched. Requires OAuth (scope history:write).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesLast day of the stretch, YYYY-MM-DD; same as `from` for one day
latNoLatitude, for a place not in the database
lonNoLongitude, paired with lat
fromYesFirst day of the stretch, YYYY-MM-DD
cityIdNoCity id from search_city, e.g. 'builtin:londres'

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the OAuth scope (history:write), states that it only changes location and not other details ('whether they went outside that day is untouched'), and clarifies it stops assumption. This is strong, though it could mention whether existing location data is overwritten or merged.

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?

The description is four sentences, front-loaded with the core purpose, then usage guidance, parameter hints, and scope/permissions. No wasted words.

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

Completeness5/5

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

Given the tool's complexity (5 params, optional combinations, no output schema), the description covers purpose, when to use, parameter relationships, side effects, and auth. It is sufficient for an agent to invoke correctly.

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 baseline is 3. The description adds meaning by explaining the from/to range concept and the mutually exclusive cityId or lat/lon options, which is not fully captured in the schema. This adds value beyond the field descriptions.

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?

The description clearly states the verb and resource: 'Records where the signed-in user was over a range of past days.' It also differentiates from siblings by explaining it corrects assumed history, which get_my_history marks with `locationAssumed`.

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

Usage Guidelines5/5

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

Explicitly says 'Use it when the user corrects a stretch' and references get_my_history as the detection mechanism. It also gives alternatives for parameters (cityId from search_city or lat/lon), providing clear context for when to use this tool versus others.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Every tool has a clearly distinct purpose: year comparison vs. single-year vs. single-day vs. multi-day forecast vs. pure sun times vs. current status; personal history/profile tools are cleanly separated from public location tools. No two tools appear to do the same thing.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (get_, set_, log_, search_, update_, configure_, estimate_, compare_). This makes the toolset highly predictable and easy to navigate.

Tool Count4/5

At 15 tools, the count sits at the upper edge of the ideal range, but each tool carves out a distinct niche within the vitamin D/sun exposure domain. The scope is broad, yet no tool feels extraneous; a slightly lower score reflects the borderline-high number.

Completeness4/5

The domain is well covered: location search, sun times, vitamin D windows for day/year/forecast, session estimation, personal profile read/update, history logging and correction. Minor gaps exist (e.g., no favourite city management, no way to delete history), but core workflows are fully supported.

Resources