Skip to main content
Glama
sandraschi

Nest Protect MCP Server

refresh_nest_token

Renew the OAuth 2.0 access token to maintain API connectivity with Nest Protect devices. Optionally force refresh to ensure a valid token is always available.

Instructions

Refresh Nest Access Token.

Force or verify the renewal of the current OAuth 2.0 access token for API calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYesParameters for token refresh.
Behavior2/5

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

No annotations provided. The description says 'refresh' implying a write operation but does not disclose side effects (e.g., invalidating old token), rate limits, or behavior when the token is invalid. The term 'verify' is vague regarding whether it just checks or also refreshes automatically.

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?

Two sentences, concise and front-loaded. No extraneous words. Could be slightly more precise but overall efficient.

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?

No output schema; description omits return value (e.g., new token, expiry) and error conditions. For a token refresh tool, describing the result is important. The intermediate complexity is not compensated by the description.

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 coverage is 100% with the 'force' parameter already described ('Force refresh even if token not expired'). The description adds no new meaning beyond mapping 'force' to the param. Baseline 3 is appropriate as the schema carries the burden.

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?

The description clearly states the tool refreshes the Nest access token and mentions optional forced renewal. The verb 'refresh' and resource 'Nest Access Token' are specific. However, 'verify the renewal' is slightly ambiguous, but overall purpose is clear and distinct from siblings like get_nest_auth_status.

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?

No guidance on when to use this tool vs alternatives such as validate_nest_credentials or get_nest_auth_status. No prerequisites like needing prior authentication are mentioned. The description lacks context for appropriate usage scenarios.

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/sandraschi/nest-protect-mcp'

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