teamgrid_custom_field_definitions_list is a read-only, idempotent TeamGrid MCP tool. It is introduced by the
governance profile and is advertised in: governance, all.
Input schema
This is the exact JSON Schema advertised by @teamgrid/mcp-server@1.0.6:
{
"type": "object",
"properties": {
"cursor": {
"type": "string",
"maxLength": 512
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"archived": {
"type": "boolean"
},
"defaultEnabled": {
"type": "boolean"
},
"fieldType": {
"type": "string",
"enum": [
"contact",
"date",
"dropdown",
"number",
"project",
"switcher",
"tag",
"text",
"textarea",
"user"
]
},
"targetType": {
"type": "string",
"enum": [
"contact",
"project",
"projectJournalEntry",
"task"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}
The schema is strict: properties not shown above are rejected before TeamGrid receives a request.
Scope and API operation
Required scope: custom-field-definitions:read.
listCustomFieldDefinitions—GET /custom-field-definitions
The credential must also satisfy normal workspace authorization and any service-account resource grants. Selecting an MCP tool profile never adds scopes to a credential.
Output and limits
The API v1 response envelope is returned as MCP structured content and as the same serialized JSON in a text content block. This is a cursor-paginated tool. limit accepts 1–100. When meta.page.nextCursor is not null, pass that opaque value as cursor to request the next page. Do not construct, edit, or decode cursors. The serialized result may not exceed
256 KiB.
Additional output boundary:
- The tool exposes canonical definitions, not legacy defaults or per-resource values.
The linked API operation is the canonical reference for the response envelope and resource schema. MCP does not add write fields, an ETag input, or a hidden authorization path.
Security classification
governance-metadata: Custom-field definitions describe workspace schema and compatibility, but not per-resource values.
The server advertises MCP annotations readOnlyHint: true, idempotentHint: true,
destructiveHint: false, and openWorldHint: false. The host and model can still retain tool
arguments and results in prompts, logs, or transcripts; use a dedicated least-privilege credential.
Example prompt
List the first 20 TeamGrid custom field definitions. Do not request another page; tell me whether another cursor is available.
The prompt is illustrative. Inspect the proposed tool arguments before approving access to personal, commercial, conversation, or security-configuration data.
Common failures
| Condition | Observable behavior and recovery |
|---|---|
The host uses a tool profile that does not include governance access. |
The tool is not advertised to the host. Select the narrowest profile that contains it and restart the host. |
limit is outside 1–100, cursor is longer than 512 characters, or a filter has an unsupported value. |
MCP input validation rejects the call before an API request is made. |
The credential lacks custom-field-definitions:read or cannot access the requested resource. |
The tool returns teamgrid_request_failed; the redacted detail comes from the rejected TeamGrid request. |
| The serialized result exceeds 256 KiB. | The tool returns result_too_large. Request a smaller page or narrower filters. |
| An unknown input property is supplied. | The strict input schema rejects the call before an API request is made. |
Authentication failures that prevent the MCP process from starting are covered separately in MCP troubleshooting.