Skip to main content
Glama
gca-global

Qobrix CRM MCP Server

by gca-global

qobrix_days_on_market

Calculate days-on-market analytics for sold or reserved properties, with count, mean, median, percentile aggregations, and breakdowns by property type, city, or agent.

Instructions

Days-on-market analytics. Joins Contracts to Properties on property_id and computes the (close_date - listing_date) duration in days, then aggregates count / mean / median / p75 / p90 / min / max. Defaults: kind='sold' (cos + agreed), listing_date_field='listing_date' with per-row fallback to website_listing_date then created. Use group_by to break down by property_type, city, agent, or commission_to_2 (broker). Set include_outliers=true for the 5 longest and 5 shortest deals. Example uses: Overall DOM for 2026 sales: { kind: 'sold', year: 2026 }. DOM by property type: { kind: 'sold', year: 2026, group_by: 'property_type' }. DOM by city (with outliers): { year: 2026, group_by: 'city', include_outliers: true }. Reservation cycle: { kind: 'reserved', year: 2026 }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoISO exclusive upper bound.
topNoMax group buckets to return (default 10).
fromNoISO inclusive lower bound.
kindNoWhich contracts count as a 'close' (default 'sold' = contract_type=cos + contract_status=agreed). 'reserved' = contract_status=reserved. 'any_closed' = reserved + agreed.
yearNoCalendar year window.
group_byNoOptional grouping field(s) on the property side: 'property_type', 'city', 'commission_to_2'/'agent' (broker). Multi-dim arrays of 2-3 fields supported.
since_daysNoRolling window in days.
close_date_fieldNoAnchor on the contract side. Default depends on kind: sold→date_of_contract, reserved→date_of_reservation.
include_outliersNoWhen true, also returns the 5 longest-DOM and 5 shortest-DOM deals.
listing_date_fieldNoAnchor on the property side (default 'listing_date'). Per-row fallback to website_listing_date then created when the chosen field is null.
Behavior5/5

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

With no annotations to fall back on, the description discloses the join, computation, defaults for kind and listing_date_field, the per-row fallback chain, valid group_by fields, outlier behavior, and example combinations. This gives a complete picture of how the tool behaves beyond the raw schema.

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 a one-sentence purpose, then dense, purposeful details: defaults, fallback, grouping, outliers, and examples. Every sentence adds information or practical guidance; nothing is wastefully verbose.

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?

Without an output schema, the description explains the aggregate metrics returned and mentions outlier deals, which covers the main return behavior. It stops short of specifying output ordering or pagination, but for an aggregation tool this is reasonably complete.

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 covers 100% of parameters with descriptions, so baseline is 3. The description adds practical value by showing realistic parameter combinations (e.g., { kind: 'sold', year: 2026, group_by: 'city', include_outliers: true }) and reinforcing the meaning of group_by and include_outliers.

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 'Days-on-market analytics' with explicit formula (close_date - listing_date), join logic, and aggregation metrics (count/mean/median/p75/p90/min/max). Clear verb+resource and distinct from sibling analytics tools like funnel or timeseries.

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?

Provides four concrete example uses (overall DOM, by property type, by city with outliers, reservation cycle) that clearly convey when to call this tool. Does not explicitly name alternatives or exclusion criteria, but the context is strong.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gca-global/qobrix-crm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server