Skip to main content
Glama

Deprecate a contact detail

deprecate_contact_detail
Idempotent

Mark an email, phone or link as no longer current, with a note saying why ("number changed"). Values are never deleted; restore_contact_detail undoes it.

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": {
      "id": "<id>",
      "methodId": "<methodId>",
      "note": "<note>"
    },
    "name": "deprecate_contact_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesContact id.
noteYesWhy — required.
methodIdYesThe value's id from get_contact.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare this is a non-read-only, non-destructive, idempotent mutation. The description adds useful behavioral context beyond that: values are never deleted, the note is required to explain why, and restore_contact_detail reverses the operation.

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 compact and front-loaded, stating the core action first and then the non-destructive and reversible behavior. Every clause carries useful information.

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?

For a simple three-parameter mutation with complete schema descriptions and annotations covering safety and idempotency, the description supplies everything an agent needs: what it does, the required note, that data is retained, and how to undo it.

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%, so the schema already documents id, methodId, and note. The description reinforces that a note is required and gives an example reason, but it does not add substantial meaning beyond the schema's own parameter 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 states a specific verb and resource: mark an email, phone, or link as no longer current. It distinguishes this from deletion by saying values are never deleted and names restore_contact_detail as the undoing operation.

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?

It clearly establishes when to use this tool: when a contact detail is no longer current and needs a reason recorded. It also names restore_contact_detail as the alternative for undoing the state, but it does not explicitly contrast with delete_contact or state when deprecation is preferred over deletion.

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.

Resources