mcp icon indicating copy to clipboard operation
mcp copied to clipboard

aws-dataprocessing-mcp-server: reponse from server takes to many tokes

Open DovAmir opened this issue 2 months ago • 1 comments

Describe the feature

Describe the feature response from aws-dataprocessing-mcp-server doing query to athena returns a lot of metadata that in addition to the actual response. The request is to allow the mcp to remove the metadata. and by that reduce the context length

Use Case

The case is to reduce the context length of the model, both for cost and model performance this is an exmple metadata result for query like "select 1 as tmp" { "ResultSetMetadata": { "ColumnInfo": [ { "CatalogName": "hive", "SchemaName": "", "TableName": "", "Name": "tmp", "Label": "tmp", "Type": "integer", "Precision": 10, "Scale": 0, "Nullable": "UNKNOWN", "CaseSensitive": false } ] } }

Proposed Solution

Have the mcp remove the metadata and not pass it back to the model, or have a flag that allows the user to choose if the mcp removes the metadata or not.

Other Information

No response

Acknowledgements

  • [ ] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

DovAmir avatar Oct 28 '25 10:10 DovAmir

@naikvaib

krokoko avatar Oct 28 '25 19:10 krokoko