Skip to main content
Glama
OpenStreetMap MCP

OpenStreetMap MCP

osm_delete_preference

Destructive

Deletes one stored OpenStreetMap user preference by its key. Requires the write_prefs OAuth scope to remove a saved setting.

Instructions

Delete one preference by key. Needs the write_prefs OAuth scope (add it to OSM_SCOPES and the OSM app registration).

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": {
      "key": "<key>"
    },
    "name": "osm_delete_preference"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.2

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful context the annotations cannot: the required write_prefs scope and the concrete remediation steps (add to OSM_SCOPES and the app registration). It does not say what happens when the key does not exist (error versus silent no-op), which matters for a destructive call.

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 short sentences, front-loaded with the action and selector, then the authorization prerequisite. Nothing is padded, though the parenthetical remediation could be compressed.

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

Completeness3/5

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

For a one-parameter destructive tool with no output schema, the description covers the essential auth prerequisite but omits the behavioral edge case (missing key) and any confirmation of irreversibility. Adequate to invoke, but not complete.

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

Parameters2/5

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

Only one parameter (key) and schema description coverage is 0%, so the schema supplies just type and length bounds. The description repeats "by key" without clarifying whether it is a preference name or an opaque ID, its format, or case sensitivity—leaving the meaning of the sole input thin.

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?

"Delete one preference by key" gives a specific verb (delete), a specific resource (a single preference), and the selector (key), which cleanly separates it from osm_get_preferences and osm_set_preference. It stops short of naming a sibling explicitly, so it is clear but not fully differentiated.

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: the agent can infer this is the removal counterpart to osm_set_preference, and the OAuth scope note functions as a precondition. There is no statement of when to prefer this over, say, overwriting a preference with osm_set_preference, and no when-not-to-use guidance.

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