Skip to main content
Glama

Save a listing draft

create_listing

Save a new rental listing as a DRAFT in this account. It is NOT published: nobody can see it, it does not appear in search or on the public site, and no advertising fee starts. The account holder reviews it in their Seayora portfolio, adds photos, and presses Publish themselves — you cannot publish, and no permission grants that. Call get_listing_template first and fill it in WITH the user; never invent an address, a rent or a bedroom count, because they may publish it exactly as you wrote it. If it comes back with errors, every error names its field — fix them all and send once more. Photos cannot be uploaded here. A deposit, grace period or late fee the law does not allow at the address is refused with listing_legal_limits, each violation naming the most the law allows and its statute — tell the user the limit and ask what they want; never lower a figure on your own. When you report back, say the draft is saved and waiting for them — never say the listing is live.

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": {
      "street": "<street>",
      "city": "<city>",
      "state": "<state>",
      "zip_code": "<zip_code>",
      "type": "<type>",
      "bedrooms": "<bedrooms>",
      "bathrooms": "<bathrooms>",
      "rent": "<rent>",
      "description": "<description>",
      "accept_listing_terms": "<accept_listing_terms>"
    },
    "name": "create_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYes
rentYesMonthly rent in dollars, as a number.
typeYes
stateYesTwo-letter US state code.
titleNoLeave out and Seayora writes one.
streetYesStreet address including unit number.
coolingNo
depositNo
heatingNo
kitchenNo
laundryNo
outdoorNo
bedroomsYes0 for a studio.
featuresNo
latitudeNoOnly if genuinely known. Never estimate from the city.
securityNo
zip_codeYesFive-digit ZIP.
bathroomsYesHalf baths allowed, e.g. 1.5.
furnishedNo
longitudeNoMust accompany latitude.
nearby_poiNo
pet_policyNo
year_builtNo
descriptionYesAt least 40 characters. Describe the home, never the ideal tenant.
square_feetNo
neighborhoodNoStrongly recommended — renters search by it.
available_nowNo
late_fee_typeNo
sublet_policyNo
available_fromNoISO date the unit can be moved into.
smoking_policyNo
late_fee_amountNo
grace_period_daysNo
lease_term_monthsNo
utilities_includedNo
lease_term_flexibleNo
accept_listing_termsYesMust be true. Confirms the account has the right to advertise this unit, that the details are accurate, and that the copy complies with fair-housing law. Ask the user out loud; never set it on their behalf. This is not the pricing agreement — that is accepted separately when they publish.
parking_info_detailsNo
nearby_transportationNo

Output Schema

NameRequiredDescriptionDefault
idNoThe created or updated record's id, when the write was applied rather than staged.
noteNoWhy the result was truncated, when it was.
stagedNoTRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done.
draft_idNoThe staged proposal's id, when it was queued rather than performed.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say it is not read-only and not destructive; the description adds the behavioral substance: drafts are invisible, no fee starts, the agent cannot publish under any permission, legal-limit refusals return a named `listing_legal_limits` error with statute and cap, and errors identify their own fields. It also constrains the agent's reporting ("never say the listing is live").

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?

Roughly 150 words for a 39-parameter mutation tool, front-loaded with draft status before constraints, workflow, error handling and reporting rules. Dense and purposeful, though the legal-limits and reporting passages could be compressed into one sentence each without losing meaning.

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?

Given a large mutation schema and an output schema that handles return values, the description covers everything an agent needs: draft semantics, the template-first workflow, the publish handoff, the no-photos boundary, the legal-limit refusal path, and what to tell the user afterward.

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?

With only 33% schema coverage across 39 parameters, the description carries real weight: it explains that `accept_listing_terms` must be asked aloud and never set on the user's behalf, that it is distinct from the pricing agreement accepted at publish, and that deposit, grace period and late fee are checked against legal limits at the address. Many optional fields (pet_policy, sublet_policy, utilities) get no treatment, so it is not exhaustive, but the highest-risk semantics are covered.

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 ("Save a new rental listing as a DRAFT in this account") and immediately distinguishes it from publishing: "It is NOT published: nobody can see it, it does not appear in search." The agent can tell exactly what this creates and what it does not, 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?

Gives explicit sequencing ("Call get_listing_template first and fill it in WITH the user"), an exclusion ("Photos cannot be uploaded here"), a prohibition on inventing address, rent or bedroom count, and an error-recovery path ("fix them all and send once more"). Uses and non-uses are both named.

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