Skip to main content
Glama
ismaeldosil

FinaShopping MCP Server

by ismaeldosil

search-guarantees

Search rental guarantee options in Uruguay to find financial products that help secure rental agreements.

Instructions

Search available rental guarantee options in Uruguay. | Buscar opciones de garantía de alquiler disponibles en Uruguay.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function that fetches rental guarantees from the API using getGuarantees() and returns a structured JSON response including the list, count, and a tip.
    async () => {
      const guarantees = await getGuarantees();
      return {
        content: [{
          type: 'text' as const,
          text: JSON.stringify({
            guarantees,
            count: guarantees.length,
            tip: 'Rental guarantees are alternatives to the traditional deposit for renting homes in Uruguay. | Las garantías de alquiler son alternativas al depósito tradicional para arrendar viviendas en Uruguay.'
          }, null, 2)
        }]
      };
    }
  • Registers the 'search-guarantees' tool on the MCP server, including name, description, empty input schema, and inline handler.
    // Tool: search-guarantees
    server.tool(
      'search-guarantees',
      'Search available rental guarantee options in Uruguay. | Buscar opciones de garantía de alquiler disponibles en Uruguay.',
      {},
      async () => {
        const guarantees = await getGuarantees();
        return {
          content: [{
            type: 'text' as const,
            text: JSON.stringify({
              guarantees,
              count: guarantees.length,
              tip: 'Rental guarantees are alternatives to the traditional deposit for renting homes in Uruguay. | Las garantías de alquiler son alternativas al depósito tradicional para arrendar viviendas en Uruguay.'
            }, null, 2)
          }]
        };
      }
    );
  • Helper function to fetch guarantee data from the API via fetchGuarantees().
    /**
     * Fetch guarantees from API
     */
    async function getGuarantees(): Promise<Guarantee[]> {
      const response = await fetchGuarantees();
      return response.guarantees;
    }
  • src/tools/index.ts:9-9 (registration)
    Calls registerInsuranceTools to register insurance-related tools, including 'search-guarantees', as part of registering all tools.
    registerInsuranceTools(server);

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/ismaeldosil/finashopping-mcp'

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