Skip to main content
Glama

Buyer (procuring entity) profile

get_buyer_profile
Read-onlyIdempotent

Profiles a procuring entity by EDRPOU: number and expected value of its procurements, completed, cancelled and unsuccessful shares, typical procedures, top CPV categories, awards with average discount, most frequent winners and currently open tenders.

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": {
      "edrpou": "<edrpou>"
    },
    "name": "get_buyer_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
edrpouYesEDRPOU code (8 digits) or a sole trader's tax number (10 digits)

Output Schema

NameRequiredDescriptionDefault
kindNo
nameNo
awardsYes
edrpouYes
regionNo
sourceNoProzorro (prozorro.gov.ua), open data
methodsYes
tendersYes
avg_bidsNo
completedYes
period_toNo
period_fromNo
top_winnersYes
open_tendersYes
top_categoriesYes
avg_discount_pctNo
open_tenders_nowYes
awarded_value_totalYes
cancelled_share_pctNo
expected_value_totalYes
unsuccessful_share_pctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds real behavioral value by spelling out what the profile contains — completion/cancellation/unsuccessful shares, average discount, frequent winners, currently open tenders — which tells the agent this is a rich aggregated view rather than a raw record fetch. It says nothing about data freshness, coverage period, or rate limits, keeping it short of a 5.

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?

One front-loaded sentence leads with the verb and key identifier before the content list, with no filler or repetition. The trailing enumeration of profile fields is dense but each item carries information; only the sheer list length keeps it from a 5.

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 one-parameter, read-only lookup with an output schema and full annotation coverage, the definition supplies everything needed to invoke it correctly, and the content summary is a useful bonus on top of the output schema. The only gap is routing guidance among the profile-style siblings, which is a usage concern rather than a missing invocation detail.

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 single edrpou parameter is already documented as an 8-digit code or 10-digit sole-trader tax number. The description only restates that EDRPOU is the lookup key ("by EDRPOU"), adding no format, validation, or resolution behavior beyond the schema, so the baseline of 3 applies.

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?

"Profiles a procuring entity by EDRPOU" gives a specific verb plus resource, and the enumeration of contents (counts, shares, procedures, CPV categories, winners, open tenders) tells an agent exactly what it gets back. The qualifier "procuring entity" implicitly separates it from get_supplier_profile and get_company_profile, but no sibling is named outright, so the differentiation is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the agent must infer that this is the right tool when it holds an EDRPOU for a buyer and wants an aggregated profile. There is no explicit when-to-use statement, no exclusion such as "use get_supplier_profile for vendors," and no mention of the sibling tools at all.

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