Skip to main content
Glama

Get Trainer Offers

get_trainer_offers
Read-onlyIdempotent

Liest eingehende und eigene Trainerangebote mit IDs und aktuellem Status. Grundlage für accept/reject/withdraw_trainer_offer; Marktgebote haben eigene Rücknahme.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_trainer_offers"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionNoall
chunk_limitNo
snapshot_idNo
chunk_offsetNoStrukturierter Offset aus read_view.next_arguments.
expected_revisionNo
text_chunk_offsetNoTextoffset aus read_view.next_arguments.
expected_verein_idNoOptionaler Kontextanker: muss dem beim Aufruf aktiven Verein entsprechen (0 = keiner).

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / allOf
      Removed value: -[
      -  {
      -    "if": {
      -      "required": [
      -        "chunk_offset"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "chunk_limit"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "text_chunk_offset"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "snapshot_id"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "expected_revision"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "snapshot_id"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "expected_revision"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "expected_revision"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "snapshot_id"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "text_chunk_offset"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "snapshot_id",
      -        "expected_revision"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "anyOf": [
      -        {
      -          "properties": {
      -            "chunk_offset": {
      -              "minimum": 1
      -            }
      -          },
      -          "required": [
      -            "chunk_offset"
      -          ]
      -        },
      -        {
      -          "properties": {
      -            "text_chunk_offset": {
      -              "minimum": 1
      -            }
      -          },
      -          "required": [
      -            "text_chunk_offset"
      -          ]
      -        }
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "snapshot_id",
      -        "expected_revision",
      -        "chunk_offset",
      -        "text_chunk_offset"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "section": {
      -          "const": "envelope_document"
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "snapshot_id",
      -        "expected_revision"
      -      ]
      -    }
      -  }
      -]
    • addedInput schema / description
      Added value: +"snapshot_id und expected_revision gemeinsam übergeben; Fortsetzungen verwenden die next_arguments der vorherigen Antwort unverändert. Chunk-Parameter nur für die dokumentierte section; positive Offsets erfordern den zugehörigen Snapshot und seine Revision. Bedingte Parameterregeln werden vor Ausführung serverseitig geprüft; VALIDATION_ERROR nennt den betroffenen Parameter."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "data": {},
      +    "meta": {
      +      "type": "object"
      +    },
      +    "status": {
      +      "enum": [
      +        "ok",
      +        "error"
      +      ],
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "trace": {
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "tool",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real value by framing the tool as the source of IDs/status feeding the accept/reject/withdraw mutations and by flagging that market offers are withdrawn elsewhere. It says nothing about pagination, snapshot/revision requirements, or result size, which are the genuinely non-obvious behaviors here.

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?

Two short sentences with no filler, and the core capability is front-loaded ahead of the follow-up-tool relationship. It is efficient, though the second clause about market bids is compressed to the point of being slightly cryptic.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 no explanation, and the mutation relationships are covered. For a seven-parameter tool with snapshot/revision continuation semantics, though, the description omits any mention of the paging model, leaving an agent to discover it only from the schema.

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 description coverage is only 43%, so the description would need to compensate, and it does not: none of the seven parameters (section, chunk_limit, snapshot_id, expected_revision, chunk_offset, text_chunk_offset, expected_verein_id) are explained. The conditional-parameter and continuation rules live entirely in the schema's own description block, leaving the prose description with zero parameter semantics.

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?

The German description gives a specific verb and resource ('Liest eingehende und eigene Trainerangebote') plus the payload ('mit IDs und aktuellem Status'), which is enough to distinguish it from pure mutation siblings like accept/reject_trainer_offer. It stops short of naming a read sibling such as list_incoming_transfer_offers or get_trainer_offer_quote, so sibling differentiation is only partial.

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?

It positions itself as the prerequisite for accept/reject/withdraw_trainer_offer and notes that market bids have a separate withdrawal path, which is genuine routing guidance. However, it never states the conditions under which an agent should call this instead of the other read tools (get_trainer_offer_quote, list_incoming_transfer_offers), so usage is implied rather than explicit.

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.