# I got an error saying response is mcp response capped

**URL:** <https://community.retellai.com/t/i-got-an-error-saying-response-is-mcp-response-capped/3533>\
**Category:** Support Help\
**Tags:** bug\
**Created:** [August 24, 2026, 2:14pm UTC](https://community.retellai.com/t/i-got-an-error-saying-response-is-mcp-response-capped/3533 "2026-08-24T14:14:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![duncan](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/duncan/32/1096_2.png) [@duncan](https://community.retellai.com/u/duncan)\
**Post date:** [August 24, 2026, 2:14pm UTC](https://community.retellai.com/t/i-got-an-error-saying-response-is-mcp-response-capped/3533/1 "2026-08-24T14:14:59Z")

</div>

Callsession id = call\_6afa000769440c576c0687870fc ,the agent has been working but now i see that the mcp response is being capped @Shah-Fazal

![image](https://canada1.discourse-cdn.com/flex008/uploads/retell1/original/2X/9/9591fd465187235a0bae4ac3b08fb80bceec63e4.png)

---

<div class="post-metadata">

**Author:** ![Shah-Fazal](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/shah-fazal/32/2522_2.png) [@Shah-Fazal](https://community.retellai.com/u/Shah-Fazal)\
**Post date:** [August 24, 2026, 2:17pm UTC](https://community.retellai.com/t/i-got-an-error-saying-response-is-mcp-response-capped/3533/2 "2026-08-24T14:17:58Z")

</div>

Hey @duncan The error “Function result too long, capping response” means your custom function returned a response exceeding 15,000 characters. Retell caps the result at that limit before sending it to the LLM.

Fix option: Trim your response — return only the data the LLM actually needs, not full API payloads.

Thank You
