Skip to main content
Glama
jonnyanarx

Freshsales MCP Server

by jonnyanarx

list_views

Retrieve saved views (filters) for a Freshsales module and get the view ID required by contact, account, deal, or lead listing tools.

Instructions

List the saved views (filters) available for a module. A view id is required by list_contacts/list_accounts/list_deals/list_leads — call this first to get one (e.g. "All Contacts", "Open Deals", "My Leads").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
moduleYesModule to list views for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the disclosure burden. It clearly conveys a read-only lookup and, more valuably, discloses the downstream dependency that makes the output a required input for other tools. It does not mention auth requirements or pagination, which is a minor gap for a simple lookup.

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?

Two sentences, zero filler, and the dependency instruction is placed immediately after the purpose statement. Every clause earns its place.

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?

With no output schema, the description still signals what is returned (view ids and named filters) and why it matters. For a single-parameter lookup tool, nothing an agent needs to invoke it correctly is missing.

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 description coverage is 100% with a fully enumerated module parameter, so the baseline is 3. The description adds only illustrative view names ('All Contacts', 'Open Deals', 'My Leads') rather than clarifying module-to-view mapping or other parameter semantics.

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 ('List the saved views (filters)') scoped to a module, which clearly distinguishes it from the sibling list_leads/list_contacts/list_deals tools. An agent can tell exactly what it returns without opening the schema.

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

Usage Guidelines5/5

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

Explicitly instructs 'call this first' and names the dependent tools (list_contacts/list_accounts/list_deals/list_leads) that require the returned view id. This is a textbook when-to-use directive with the alternative path made obvious.

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