Skip to main content
Glama

kognyt_sf_constraints

Fetch Salesforce governor limits, platform rules, and best practices with structured values, context, workarounds, and code examples; filter by Apex, SOQL, DML, triggers, or release.

Instructions

Get Salesforce platform constraints including governor limits, platform rules, and best practices. Returns structured data with limit values, context, workarounds, and code examples. Powered by Kognyt.

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": "kognyt_sf_constraints"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoFilter by context (e.g., "apex", "soql", "dml", "triggers").
release_idNoRelease identifier (e.g., "spring-26"). If not provided, uses the current release.
max_resultsNoMaximum number of constraints to return (default: 100)
constraint_idsNoSpecific constraint IDs to fetch. If not provided, returns all.
constraint_typeNoFilter by constraint type. If not provided, returns all types.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden; it discloses the shape of the return payload (limit values, context, workarounds, code examples). It does not address whether the data is static or release-dependent (only implied via the release_id schema field), or how truncation works given max_results defaults, leaving gaps for an unannotated read tool.

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?

Front-loaded with purpose and return shape in two tight sentences. The trailing 'Powered by Kognyt' is vendor boilerplate with no decision value.

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?

With no output schema, the description usefully previews the returned fields, and all five optional parameters are self-documenting in the schema. A note on volume or pagination behavior beyond max_results would close the remaining gap.

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%, so every parameter is already documented including an enum for constraint_type and the current-release default. The description adds no syntax, format, or filtering semantics beyond what the schema states, so baseline 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?

States a specific verb and resource ('Get Salesforce platform constraints') and enumerates the three content categories (governor limits, platform rules, best practices). It is distinguishable from the sibling doc_search and releases tools by resource, but never explicitly contrasts itself with them.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus kognyt_sf_doc_search or kognyt_sf_releases, and no stated prerequisites. Usage must be inferred entirely from the tool name and resource.

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