Skip to main content
Glama

workspaces_view_configs_columns_retrieve

Returns every column available to this workspace's views, in picker order, each tagged with the group it belongs to (Lead Fields, Custom Fields, Discovery: Company, Discovery: Person), its type, and whether it can be sorted on.

Use the field values here for columns, sort_by_1 and sort_by_2. Note these are column keys (get_status_display), not the namespaced keys filter conditions use (lead.status) — a column key names a rendering path, a filter key names a storage path. filter-configs/metadata/ returns column_key to map between them.

Discovery columns have sortable: false: they resolve out of another database, so a view cannot order by them.

Method: GET /api/v1/workspaces/{workspace_sqid}/view-configs/columns/

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "workspaces_view_configs_columns_retrieve"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full burden and does disclose notable behavior: results come back in picker order, each entry carries its group, type, and sortable flag, and Discovery columns are explicitly non-sortable because they resolve from another database. Missing only operational details like auth requirements or whether the list is ever paginated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first sentence, followed by usage guidance and then a caveat about Discovery columns. The column-key vs filter-key explanation is dense but earns its place by preventing a common misuse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description must describe the return shape, and it does: each column with its group, type, and sortable flag, in picker order. Combined with the key-mapping guidance, an agent has everything needed to call and consume this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4. The description adds useful semantics about how returned `field` values feed other tools' parameters, but there is nothing to clarify on the input side.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: returns every column available to the workspace's views, in picker order, annotated with group, type, and sortability. This is clearly distinguishable from filter-configs tools, which the description explicitly contrasts against.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete downstream usage: use the returned `field` values for `columns`, `sort_by_1`, and `sort_by_2`, and redirects to `filter-configs/metadata/` when a filter key (`lead.status`) is needed instead of a column key (`get_status_display`). It does not explicitly say when to prefer this over `workspaces_view_configs_retrieve`, but the context is otherwise unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.