microsoft / microsoft/mcp

[Investigation] Offering projection-like ability in tools that list resources

Open
#2,536 1 comment 0 reactions 1 assignee Claimed by @alzimmermsft View on GitHub
server-Azure.Mcp tools-Core
Dominant language
C#
Stars
3.7k
Forks
624
Avg merge
2d 20h
Merged PRs (30d)
220

Description

Right now, tools that list resources will return a static set of properties. Given that listing can return many results, therefore consume many tokens, we should investigate an idea like `--projection` or `--select` where specific properties can be chosen to be returned (if missing or empty all properties are returned).

For example, listing Storage blobs will return the name, metadata, last modification date, and much. If you only need the name of the blobs the tool returned much, much more information than you need. Using `--projection name` or `--select name` would drastically reduce response size.

Requirement, the operator should be scoped to the JSON properties specified in the output schema for the response object.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.