Skip to main content
Glama

Add pin

add_comp

Add a new record (pin) to a layer at the given latitude/longitude. Coordinates are required; an address is stored as text and never geocoded.

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": {
      "name": "<name>",
      "layerId": "<layerId>",
      "latitude": "<latitude>",
      "longitude": "<longitude>",
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "add_comp"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoSale date
nameYesComp name
buyerNoBuyer name
notesNoAdditional notes
priceNoSale price in dollars
sellerNoSeller name
zoningNoZoning classification
acreageNoAcreage
addressNoProperty address, stored as text on the pin. It is not geocoded — the pin goes at latitude/longitude.
contextYesExplain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as "a user", "the customer", or "an account". Example: "Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution."
layerIdYesLayer ID to add comp to
flyerUrlNoLink to a marketing flyer PDF/page for this property — shown as a 'View flyer' card on the pin. Set from a source column clearly holding flyer links; if unsure whether a column is flyers, ask the user first.
latitudeYesLatitude in decimal degrees (-90 to 90). Required — addresses are not geocoded.
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess.
longitudeYesLongitude in decimal degrees (-180 to 180). Required — addresses are not geocoded.
externalIdNoOptional stable ID from your source data (e.g. a spreadsheet Record #). Lets later imports upsert this record instead of duplicating it.
customFieldsNoAny extra columns as a {fieldName: value} map — stored as real, filterable fields (e.g. {"Price per SF": "$18", "Tenant": "Acme"}). Use this for anything without a native slot above instead of cramming it into notes. Broker contacts: put every broker's email in a field named "Broker emails" (comma-separated, e.g. {"Broker emails": "jane@firm.com, sam@firm.com"}); on shared and published maps an inquiry on the pin is emailed to all of them. Listing page convention (published maps credit these brokers, not the map owner, and show the property story): "Brokerage", "Brokers" (names, comma-separated), "Agent phone", "Broker emails", "Photo URL" (https), "Overview" (description; blank line between paragraphs), "Highlights" (one per line or separated by " | "), "URL" (the broker's own listing page), and each spec as its own field ("Year Built", "Zoning", "Land Area", "Building Class", "Construction", "Drive-In Doors", "Power", "Parking").
conversation_idNoPass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / customFields / description
      Previous value: -"Any extra columns as a {fieldName: value} map — stored as real, filterable fields (e.g. {\"Price per SF\": \"$18\", \"Tenant\": \"Acme\"}). Use this for anything without a native slot above instead of cramming it into notes. Broker contacts: put every broker's email in a field named \"Broker emails\" (comma-separated, e.g. {\"Broker emails\": \"jane@firm.com, sam@firm.com\"}); on shared and published maps an inquiry on the pin is emailed to all of them."New value: +"Any extra columns as a {fieldName: value} map — stored as real, filterable fields (e.g. {\"Price per SF\": \"$18\", \"Tenant\": \"Acme\"}). Use this for anything without a native slot above instead of cramming it into notes. Broker contacts: put every broker's email in a field named \"Broker emails\" (comma-separated, e.g. {\"Broker emails\": \"jane@firm.com, sam@firm.com\"}); on shared and published maps an inquiry on the pin is emailed to all of them. Listing page convention (published maps credit these brokers, not the map owner, and show the property story): \"Brokerage\", \"Brokers\" (names, comma-separated), \"Agent phone\", \"Broker emails\", \"Photo URL\" (https), \"Overview\" (description; blank line between paragraphs), \"Highlights\" (one per line or separated by \" | \"), \"URL\" (the broker's own listing page), and each spec as its own field (\"Year Built\", \"Zoning\", \"Land Area\", \"Building Class\", \"Construction\", \"Drive-In Doors\", \"Power\", \"Parking\")."
  2. Changed1 schema field changed
    • changedInput schema / properties / customFields / description
      Previous value: -"Any extra columns as a {fieldName: value} map — stored as real, filterable fields (e.g. {\"Price per SF\": \"$18\", \"Tenant\": \"Acme\"}). Use this for anything without a native slot above instead of cramming it into notes."New value: +"Any extra columns as a {fieldName: value} map — stored as real, filterable fields (e.g. {\"Price per SF\": \"$18\", \"Tenant\": \"Acme\"}). Use this for anything without a native slot above instead of cramming it into notes. Broker contacts: put every broker's email in a field named \"Broker emails\" (comma-separated, e.g. {\"Broker emails\": \"jane@firm.com, sam@firm.com\"}); on shared and published maps an inquiry on the pin is emailed to all of them."
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare that this is a non-read-only, non-destructive write. The description adds the important behavioral fact that addresses are not geocoded, so the pin lands only at the supplied coordinates. It says nothing about permissions, duplicate handling via externalId, or what a partial failure returns, and those gaps matter for a write tool with 18 parameters.

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?

It is two tight sentences with the core action first and the geocoding caveat second; no sentence is wasted. It is arguably undersized for an 18-parameter tool, but the rich schema carries the remaining detail, so brevity is not a defect here.

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 single-record write with a fully described schema and no output schema, the description covers the essential call contract: coordinates are mandatory and addresses are not geocoded. It omits the upsert semantics of externalId and the conversation_id handshake, but both are explained in the schema descriptions.

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 every parameter, including context, llm_model, conversation_id, externalId, and customFields, is documented in the schema. The description only echoes the non-geocoding rule that the latitude, longitude, and address descriptions already state. Baseline 3 is appropriate because the schema does the heavy lifting.

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?

The description gives a specific verb and resource: "Add a new record (pin) to a layer at the given latitude/longitude." It also clarifies that a pin is the record type. It doesn't name a sibling such as bulk_add_comps or add_listing, so an agent has to infer the single-record vs batch distinction from the name alone.

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?

It states a real usage constraint: coordinates are required, and an address is stored as text and never geocoded. That tells the agent not to rely on address geocoding. However, it never says when to prefer bulk_add_comps, add_listing, or update_comp, so the routing guidance is only implied.

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