Skip to main content
Glama

Street.co.uk MCP by usefulapi

Create enquiry

street_create_enquiry

WRITE: record a new inbound enquiry (a lead) in Street. Street matches the email address to an existing person or creates one, and the agency's own automations may then email or assign the lead. Street requires the enquiry to be tied to exactly one record: pass property_id, or sales_applicant_id, or lettings_applicant_id. Pass the same enquiry_identifier on a retry: Street then returns the existing enquiry instead of creating a duplicate. POST /enquiries.

Input Schema

NameRequiredDescriptionDefault
messageYesThe enquiry text.
postcodeNoEnquirer's UK postcode (stored only when a new person is created).
branch_idNoBranch UUID to route the enquiry to (street_list_branches).
last_nameNoEnquirer's last name.
first_nameNoEnquirer's first name.
property_idNoProperty UUID the enquiry is about (street_list_properties).
custom_sourceNoOne or two words naming the origin, e.g. website (max 25 characters).
email_addressYesThe enquirer's email address.
property_to_letNoThe enquirer has a property to let.
request_viewingNoThe enquirer asks for a viewing.
property_to_sellNoThe enquirer has a property to sell.
telephone_numberNoEnquirer's telephone number.
request_valuationNoThe enquirer asks for a valuation.
enquiry_identifierNoYour own stable id for this enquiry, prefixed with your integration name. Makes a retry safe.
sales_applicant_idNoSales applicant UUID the enquiry belongs to (street_list_sales_applicants).
lettings_applicant_idNoLettings applicant UUID the enquiry belongs to (street_list_lettings_applicants).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantive behavior beyond the annotations: email matching to an existing person or person creation, downstream agency automations that may email or assign the lead, and a duplicate-prevention mechanism via enquiry_identifier on retry. These are real side effects an agent must know about and are not derivable from the annotation flags.

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-loaded with the write mode and purpose, then the constraint sentence, then the retry rule, ending with the HTTP endpoint. Four sentences, each carrying distinct information, no repetition of schema text.

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 16-parameter write tool with no output schema, the description covers the critical decision rules and side effects. It stops short of saying what the call returns on success (presumably an enquiry id), which would help an agent chain into street_get_enquiry or follow-up calls.

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 is 3, but the description adds the crucial exclusivity rule across property_id / sales_applicant_id / lettings_applicant_id that the schema does not encode (no oneOf/anyOf present). It also explains the semantics of enquiry_identifier as a idempotency key rather than just an id field.

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?

Opens with an explicit mode marker and specific verb+resource: "WRITE: record a new inbound enquiry (a lead) in Street." This clearly separates it from the read-side siblings (street_get_enquiry, street_list_enquiries) and from the other create_* tools by naming the resource precisely.

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?

Gives a hard usage constraint that no sibling offers: the enquiry must be tied to exactly one of property_id / sales_applicant_id / lettings_applicant_id. It also states the retry protocol with enquiry_identifier. It does not explicitly say when to prefer this over, say, street_create_follow_up or street_create_note, but the resource naming makes that inferable.

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.