Skip to main content
Glama

Get CRM Schema

get-crm-schema-tool
Read-onlyIdempotent

Get the current workspace schema for one CRM entity, including active custom attributes (custom fields), choice options, filters, and relationships.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entity_type": "<entity_type>"
    },
    "name": "get-crm-schema-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
entity_typeYesOne of: company, people, opportunity, task, note.

Output Schema

NameRequiredDescriptionDefault
usageYes
entityYes
fieldsYes
tools_hintNo
descriptionYes
custom_fieldsYes
relationshipsYes
filterable_fieldsYes
aggregate_includesNo
writable_relationshipsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine scope context: it returns the *current* workspace configuration, restricted to *active* custom attributes, and explicitly includes choice options, filters and relationships — telling the agent what the payload contains and that deactivated fields are excluded.

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

Conciseness5/5

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

One sentence, front-loaded with the verb and object, and the trailing clause lists exactly the returned components an agent needs. Nothing is redundant with the title.

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

Completeness4/5

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

An output schema exists, so return-value explanation is not required, and the annotations fully cover the safety profile; the description fills the remaining gap by naming the schema components returned. The only real omission is routing guidance versus schema-adjacent siblings, which keeps it from a 5.

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

Parameters3/5

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

Schema coverage is 100% and the single entity_type parameter carries its own allowed-value list (company, people, opportunity, task, note). The description only echoes this as "one CRM entity" and adds no per-entity behavioral distinction, so the schema does the work and the baseline of 3 applies.

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

Purpose4/5

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

Specific verb and resource ("Get the current workspace schema for one CRM entity") plus an enumeration of what the payload contains (custom attributes, choice options, filters, relationships), which cleanly separates it from record-fetching siblings like get-company-tool. It stops short of naming any sibling it is or is not, so a 4 rather than a 5.

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

Usage Guidelines3/5

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

Usage is only implied by the word "schema" and the phrase "current workspace" — an agent can infer this is metadata to consult before reading or writing records, but the definition never states that, nor does it set conditions against alternatives such as list-custom-fields-tool or get-crm-summary-tool.

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.