get_variable_context
Search variable definitions by scope and keyword. Read-only. Returns { variables, total, returned, truncated } — compare returned against total to detect a cut-off result set and re-call with a higher limit. Values are withheld unless includeValues is true; variables marked secret stay redacted either way. Use the returned ids in {{var|<id>}} references.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum variables to return. Defaults to 30; values above 50 are clamped to 50. | |
| query | No | Case-insensitive substring filter matched against the variable name, full path, description, type, and scope. Omit to list without filtering. | |
| scope | No | Restrict to one variable scope. Defaults to "all". | |
| applicationId | No | Application (workspace) id. Optional: an application-scoped key (app_...) defaults to its own application, but a personal key (usr_...) has no default and omitting it fails with MCP_APPLICATION_REQUIRED. Call list_applications to get the id. | |
| includeValues | No | Set true to include stored values, each previewed to 500 characters. Defaults to false — leave it off unless you need the data, since values may hold personal data. Secret variables remain redacted regardless. |