fix(prompt): trust tool results + nudge toward list filters#31
Merged
Conversation
A v0.4.0 session repeatedly re-called gds/forms-read for the same
form, writing "didn't return the full details" each time, even though
every response shipped all 10 fields. The model was treating a long
JSON return as "incomplete" and burning a turn per re-read.
Add an explicit guidance block:
- the JSON return IS the full result;
- truncation is always explicit (a `truncated: true` flag or a
stated "first N items" note) — without that marker, treat the
result as complete;
- and if a list result is missing an item the user expects,
check whether default filters hide it (gds/forms-list defaults
to active + non-trashed) before assuming the item is gone.
Companion to gds-mcp v0.5.0 which adds include_inactive /
include_trashed inputs to gds/forms-list so the model has a real
escape hatch when the user is hunting for a disabled form.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A v0.4.0 session repeatedly re-called `gds/forms-read` on the same form, writing "didn't return the full details" each time, even though every return contained all 10 fields. The model was treating long JSON returns as "incomplete".
Adds an explicit prompt block under "Bulk operations":
Companion to gds-mcp #xx which adds those filter inputs and fixes the silent restoreForm bug.