Skip to main content
Glama

Guardar en favoritas

anadir_favorita
Idempotent

Guarda un bien en favoritas. Cuenta en el límite mensual de altas de favoritas del plan; si ya era favorita no cuenta.

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": {
      "bien": "<bien>"
    },
    "name": "anadir_favorita"
  }
}

Input Schema

NameRequiredDescriptionDefault
bienYesId del bien (0x…) o su URL de alertasubastas.com.
comentarioNo

Output Schema

NameRequiredDescriptionDefault
urlNo
bienNo
errorNoCódigo de error del API, si la llamada falla.
fichaNo
creadaNo
estadoNo
messageNo
_limitesNoCupos y rate limit restantes tras la llamada.
comentarioNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / properties / consultada
      Removed value: -{
      -  "type": "boolean"
      -}
    • addedOutput schema / properties / ficha
      Added value: +{
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / subasta
      Removed value: -{
      -  "type": "object"
      -}
    • removedOutput schema / properties / titulo
      Removed value: -{
      -  "type": "string"
      -}
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, and the description adds genuinely new context: the action consumes the plan's monthly favorites quota, and a repeat save of an existing favorite does not count. That is exactly the side-effect disclosure an agent needs. It stops short of 5 by not saying what happens when the quota is exhausted or whether any permission/plan check can fail.

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 short, front-loaded sentences with zero filler: the action first, then the quota/idempotency caveat. Nothing redundant.

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?

An output schema exists, so return values need not be described, and the tool is a simple single-record write whose core side effects (quota, idempotency) are disclosed. The remaining gap is the unlabeled 'comentario' parameter and failure modes on quota exhaustion.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: 'bien' carries a description (id or URL), but 'comentario' is documented only by maxLength with no meaning given anywhere. The description adds no parameter information at all, so it does not compensate for the undocumented optional parameter.

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 verb and resource ("Guarda un bien en favoritas"), which unambiguously identifies the add-to-favorites action and implicitly contrasts with siblings like quitar_favorita or listar_favoritas. It is clear without naming an alternative explicitly, so it falls just short of a 5.

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: an agent can infer this is the tool for persisting a listing to favorites, but there is no stated when-to-use, no suggestion to check estado_favorita first, and no mention of alternatives. The quota sentence is behavioral context rather than selection guidance.

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.