forcedotcom / forcedotcom/mcp-hosted

[Question]: Intended mechanism for surfacing field Description to an AI agent?

Open
#39 2 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
No language data
Stars
135
Forks
20
PR merge metrics
No merged PRs in 30d

Description

### Your question

Hey! I am starting to explore Salesforce Hosted MCP and have been testing the available tools.

One thing I ran into: **I am not sure what the intended mechanism is for surfacing a field's `Description` to an AI agent for additional context.**

**What I did:**
- I tested tool calling `getObjectSchema` and it does not return `Description` as part of the response payload.
- I then queried `FieldDefinition` directly via the SOQL tool and confirmed the data is there and accessible.

So my question is: is querying `FieldDefinition` ad-hoc the intended pattern here (whether via a custom tool, a skill file, or similar)? Or not really? `Description` is where admins document a field's business intent - essentially a data dictionary - so I am trying to understand how that is meant to reach the agent in a hosted MCP workflow, or whether it is at all.

Thanks in advance!

### Context

_No response_

### Environment

_No response_

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.