Skip to main content
Glama

Afinidad ad-hoc

score_tender
Read-onlyIdempotent

Score a tender (0-100) against an EXPLICITLY-GIVEN company profile (sectors, regions, contract types, budget range) instead of the connected user's stored profile. Use this to evaluate fit for a client or a hypothetical company — the company need not have a Licto account.

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": {
      "tender_id": "<tender_id>"
    },
    "name": "score_tender"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectorsNoCompany's sectors: CPV 2-digit divisions ('45','72') or Licto sector slugs
tender_idYesTender id (uuid) to score
budget_maxNoUpper end of typical budget (EUR)
budget_minNoLower end of typical budget (EUR)
comunidadesNoCompany's regions, as comunidad autónoma names (e.g. 'Madrid')
contract_typesNoCompany's usual contract types, e.g. 'works','services','supplies'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/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 the 0-100 score range and the notable fact that the scored company needs no account, but says nothing about how the score is computed, what the result contains, or error behavior for invalid tender ids or unrecognized sector slugs.

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?

Two sentences, no filler, with the distinguishing constraint (explicit profile vs stored profile) front-loaded before the use case. Every clause carries decision-relevant information.

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 six parameters fully documented in the schema, read-only annotations, and no output schema, the description covers the essentials for correct invocation. It could say more about what the score response includes (breakdown by facet, explanation) given no output schema exists, but nothing needed to call the tool is missing.

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 description coverage is 100% — every parameter carries its own description including CPV division formats and comunidad names — so the schema does the heavy lifting. The description's enumeration of profile facets mirrors what the schema already documents and adds no format or constraint detail beyond it, making baseline 3 appropriate.

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 a specific verb and resource with scope: "Score a tender (0-100) against an EXPLICITLY-GIVEN company profile" and enumerates the profile facets (sectors, regions, contract types, budget range). It explicitly contrasts with the connected user's stored profile, which lets an agent distinguish it from the match-score sibling without opening either schema.

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?

Gives a clear condition for use ("evaluate fit for a client or a hypothetical company — the company need not have a Licto account") and implicitly routes the stored-profile case elsewhere. It stops short of naming the alternative tool or stating exclusions, so it's strong context rather than a complete decision rule.

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