Content
View differences
Updated by Jan Sandbrink 5 days ago
**As** a user of an LLM interacting with OpenProject
**I want to** prune unnecessary links from MCP responses,
**so that** costs for running language models are kept lower and smaller language models can still use the results.
**Acceptance criteria**
* Remove "action" links from results
* ~~TBD: other links that can be removed? (e.g.~~ `~~timeEntries~~` ~~looks like many bytes with not a lot of value)~~
* Values of linked properties are mapped to the attribute directly when selected, otherwise they are removed
* ~~The corresponding MCP output schema is adapted accordingly (without making the API schema worse)~~ see ##AI-67
<br>
**Technical context**
A quick analysis on 500 work packages from Community showed that links (all of them) make up nearly half of the response volume in a work package collection (measured in Bytes).
**I want to** prune unnecessary links from MCP responses,
**so that** costs for running language models are kept lower and smaller language models can still use the results.
**Acceptance criteria**
* Remove "action" links from results
* ~~TBD: other links that can be removed? (e.g.~~ `~~timeEntries~~` ~~looks like many bytes with not a lot of value)~~
* Values of linked properties are mapped to the attribute directly when selected, otherwise they are removed
* ~~The corresponding MCP output schema is adapted accordingly (without making the API schema worse)~~ see ##AI-67
<br>
**Technical context**
A quick analysis on 500 work packages from Community showed that links (all of them) make up nearly half of the response volume in a work package collection (measured in Bytes).