Skip to main content
Glama
OpenStreetMap MCP

OpenStreetMap MCP

osm_logout

Revoke the stored OpenStreetMap OAuth token and delete it from disk to end the current session.

Instructions

Revoke the stored OAuth token and delete it from disk.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "osm_logout"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

The description usefully discloses the side effect beyond annotations: the token is both revoked and physically removed from disk, which implies a persistent state change on the local filesystem. It does not say whether this requires an active session, whether a server-side revocation call is made, or what happens if no token is stored. Annotations declare readOnlyHint=false and destructiveHint=false; the file deletion is a mild tension but not a direct contradiction since no service-side data is destroyed.

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?

One sentence, effect front-loaded (revoke first, then delete), with no filler or redundant restatement of the tool name. Every word earns its place.

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 no-parameter, single-effect operation with annotations present and no output schema, the description covers what an agent needs to know: the credential is invalidated and removed. The only gaps are edge-case behavior (no stored token, failure mode) and post-condition guidance, which are minor at this complexity.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline for a param-free tool applies. The single sentence fully covers the only meaningful input dimension, which is none.

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 pair (revoke, delete) and a specific resource (the stored OAuth token), which immediately makes it the inverse counterpart to the login sibling. It stops short of naming or contrasting with osm_login or osm_whoami explicitly, so it is clear but not sibling-differentiated in text.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the 'end the session' tool. There is no explicit guidance on when to call it (e.g., before switching accounts, on cleanup), no note that subsequent requests will fail until re-login, and no stated behavior when no token exists.

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