Skip to main content
Glama
Anwani MCP

Anwani MCP

Official

patch_address

Update selected fields of an owned Anwani address while leaving omitted details unchanged; use it to edit labels, instructions, floor, or contact info without creating a new pin.

Instructions

Updates only the fields present in changes on an owned address and returns the result; omitted fields stay unchanged. Coordinates are immutable after create. Use it to edit label, instructions, floor and similar fields; use create_address for a new pin; use delete_address only to remove an address permanently. Fails if the code is not owned by the connected account.

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": {
      "code": "<code>",
      "changes": "<changes>"
    },
    "name": "patch_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesAnwani permanent 9-digit address code (digits 1–9 only). Example: 365131449
changesYesPartial address fields to update. Omit keys you do not want to change. Example: {"instructions":"الباب الأصفر","floor":5}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare the mutation/idempotency profile, so the description must carry the real behavioral load, and it does: partial-update semantics, immutable coordinates after creation, and an ownership precondition that makes the call fail. One tension remains unexplained — annotations say idempotentHint=false while "omitted fields stay unchanged" reads as a repeatable patch; and it doesn't say whether immutability causes an error or silent ignore.

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?

Front-loads the partial-update rule, then alternatives, then the failure condition — three tight sentences with no filler. Every clause adds a decision-relevant fact.

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 nested-object mutation with no output schema, this is nearly complete: safety profile, ownership failure, and immutability are all covered. The only soft spot is that "coordinates are immutable" does not enumerate which of the many address fields that covers (pin, city, houseNumber, etc.).

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% and each nested field is already documented with type, pattern, length and examples, so the baseline of 3 applies. The description's notes on omitted keys and coordinate immutability largely restate the schema's own "Omit keys you do not want to change".

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?

States a specific verb and resource plus its exact semantics: "Updates only the fields present in `changes` on an owned address and returns the result; omitted fields stay unchanged." It is immediately distinguishable from create_address and delete_address, which are named.

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?

Gives positive guidance ("use it to edit label, instructions, floor and similar fields") and explicit alternatives for the adjacent operations: create_address for a new pin, delete_address only for permanent removal. An agent can route correctly without opening any schema.

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