Skip to main content
Glama

get_supplier_contracts

Retrieve public contracts awarded to a specific supplier company to build its public-sector track record across Salvadoran institutions.

Instructions

Find the public contracts won by a specific SUPPLIER (company), by name, across institutions. Useful to build a supplier's public-sector track record ('what has company X been awarded?'). CRITICAL LIMITATION: the upstream government API cannot filter by supplier, and only sorts newest-first, so this performs a BOUNDED scan of the most-recent records — it does NOT return a supplier's full multi-year history. The response includes a 'coverage' block stating exactly what was scanned and warning when the result is bounded. Always relay that limitation to the user; never present a bounded scan as exhaustive. If you know which institution to look within, pass id_institucion to make the scan far faster and deeper. Each page is ~7s; raising max_pages increases coverage but also wait time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
anioNoOptional year filter.
supplierYesSupplier name (partial match).
max_pagesNoMax pages to scan (default 6, max 30).
id_institucionNoOptional institution to narrow scan.
Behavior5/5

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

With no annotations, description fully discloses the bounded scan nature, inability to filter by supplier, time per page, and that response includes a coverage block. Excellent transparency about limitations and behavior.

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?

Well-structured: purpose first, then critical limitation, then parameter advice. Every sentence adds value without redundancy. Could be slightly shorter but acceptable.

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?

No output schema, but description mentions coverage block in response. Covers all essential aspects: purpose, limitations, parameters, and response hint. Adequate for the tool's complexity.

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%, but description adds value by explaining how parameters affect behavior (e.g., id_institucion speeds scan, max_pages trades coverage for time). Provides context beyond schema descriptions.

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?

Clearly states the tool finds public contracts won by a specific supplier by name. Distinguished from siblings like get_award_report and search_procurement by focusing on supplier track record.

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 clear context: useful for building track record, but critical limitation (bounded scan) is explicitly stated. Advises relaying limitation to user and using id_institucion for better results. Lacks explicit when-not-to-use but covers key usage guidance.

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/guillaumehussong/comprasal-mcp'

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