Skip to main content
Glama

Save sender

save_sender
DestructiveIdempotent

Adds a sender or, with sender_id, corrects a saved one; make_default makes it the default for create_letter. create_letter saves new senders itself, so use this for corrections or the default. Saving the same address again creates no duplicate. A correction replaces the stored address and keeps the signature; existing letters keep their old address. Charges nothing.

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": {
      "sender": "<sender>"
    },
    "name": "save_sender"
  }
}

Input Schema

NameRequiredDescriptionDefault
senderYesThe complete sender address.
sender_idNoChange this saved sender instead of adding a new one.
make_defaultNoUse this sender when create_letter gets no sender.

Output Schema

NameRequiredDescriptionDefault
senderNoPostal address.
defaultNotrue for the default sender used when create_letter gets none.
sender_idNoId of the saved sender.
signatureNoHow the sender signs letters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / description
      Added value: +"A saved sender."
    • addedOutput schema / properties
      Added value: +{
      +  "default": {
      +    "description": "true for the default sender used when create_letter gets none.",
      +    "type": [
      +      "boolean",
      +      "null"
      +    ]
      +  },
      +  "sender": {
      +    "additionalProperties": true,
      +    "description": "Postal address.",
      +    "properties": {
      +      "address_line2": {
      +        "description": "Optional second line.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "city": {
      +        "description": "City, with state or province where usual.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "country": {
      +        "description": "Two-letter ISO country code.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "description": "Person, company or office.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "postal_code": {
      +        "description": "Postal code.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "street": {
      +        "description": "Street and house number or PO box.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "sender_id": {
      +    "description": "Id of the saved sender.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "signature": {
      +    "additionalProperties": true,
      +    "description": "How the sender signs letters.",
      +    "properties": {
      +      "preview_url": {
      +        "description": "PNG preview of the signature.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "text": {
      +        "description": "Text written in script.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": {
      +        "description": "script, image or none.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "updated": {
      +        "description": "Unix time of the last change.",
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • removedOutput schema / title
      Removed value: -"save_senderDictOutput"
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations it discloses dedup behavior (saving the same address creates no duplicate), what a correction destroys and preserves (address replaced, signature kept), that existing letters keep the old address, and that no charge is incurred. These are exactly the side effects the destructiveHint=true flag implies but cannot explain.

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?

Purpose and mode split come first, then the routing rule, then the side effects and cost. Five compact clauses with no filler; every sentence carries a distinct fact an agent needs.

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 three-parameter mutation tool with a nested address object, the description covers routing, dedup, correction semantics, downstream letter impact and cost, and an output schema exists so return values need no explanation.

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 the baseline would be 3, but the description adds the coupling between the parameters: sender_id switches the call from insert to correct, and make_default is framed in terms of create_letter's fallback. Only the address sub-fields get no added meaning beyond the schema.

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 first clause gives a specific verb and resource and immediately splits the tool's two modes: add a sender, or correct one when sender_id is supplied. An agent can distinguish it from list_senders, delete_sender and create_letter without opening the schema.

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?

It states explicitly that create_letter already saves new senders, so this tool is for corrections or setting a default, and it names the make_default flag as the path to the latter. That is when-to-use plus a named alternative, not an inference.

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