Skip to main content
Glama

Cubi Estate

Summaries for result cards

get_card_summaries
Read-only

Internal to Cubi's result card — assistants should not call this.

A listing's AI summary is written in the background the first time the
listing is shown, so the first cards of a result can lack it. The card
asks here once the summaries have had time to be written and fills them
in. Read-only: returns summaries already stored and writes nothing.

Args:
    listing_ids: Up to 12 ids of listings the card shows.
    lang: ISO 639-1 code of the card's language.

Returns:
    {summaries: {listing id: summary}} — only for the ids that have one.

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": {
      "listing_ids": "<listing_ids>"
    },
    "name": "get_card_summaries"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoISO 639-1 code of the card's language.en
listing_idsYesUp to 12 ids of listings the card shows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: summaries are generated in the background on first display, so early results can be missing them, and the tool only returns summaries already stored. The annotations already cover readOnly/destructive/openWorld, so the description's job is extra context, which it supplies via this eventual-consistency caveat.

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?

The critical warning leads, followed by a short rationale, then structured Args/Returns blocks — easy to scan and appropriately sized for an internal tool. 'writes nothing' mildly restates destructiveHint=false, but the cost is a clause rather than a paragraph.

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?

With no output schema, the description usefully documents the return shape ({summaries: {listing id: summary}}) and the partial-result semantics. The only omission is what happens for ids beyond the stated 12 limit, a minor gap for a tool agents are told not to call.

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 the two Args lines echo the schema text almost verbatim ('Up to 12 ids of listings the card shows', 'ISO 639-1 code of the card's language'), adding no new meaning. It does not explain behavior when more than 12 ids are supplied, which the schema does not constrain either.

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?

States a specific resource (stored AI summaries for listings) and its scope (feeds Cubi's result card), which is enough to tell it apart from get_listing or ask_about_listing. It loses a point only because the headline sentence frames the tool as off-limits rather than as a capability, so the actual purpose emerges in the second paragraph.

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 an explicit when-not: 'Internal to Cubi's result card — assistants should not call this.' That is the strongest possible routing guidance and is front-loaded before any other content, leaving no ambiguity about whether an agent should select it.

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