Skip to main content
Glama

Perpetuus CRM

Evaluate Field Conditions

crm_evaluate_field_conditions
Read-onlyIdempotent

Evaluate a phase's conditions against a set of field values; returns visible/hidden slugs and required overrides. Read-only.

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": {
      "boardId": "<boardId>",
      "phaseId": "<phaseId>",
      "values": "<values>"
    },
    "name": "crm_evaluate_field_conditions"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYesCurrent field values keyed by slug, to evaluate visibility/required overrides.
boardIdYes
phaseIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / properties / phaseId / $ref
      Removed value: -"#/properties/boardId"
    • addedInput schema / properties / phaseId / maxLength
      Added value: +140
    • addedInput schema / properties / phaseId / minLength
      Added value: +1
    • addedInput schema / properties / phaseId / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / phaseId / type
      Added value: +"string"
    • addedInput schema / properties / values / additionalProperties / type
      Added value: +[
      +  "object",
      +  "array",
      +  "string",
      +  "number",
      +  "boolean",
      +  "null"
      +]
  2. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so 'Read-only' in the description is largely redundant. The genuinely additive part is the stated return payload (visible/hidden slugs and required overrides), which matters because there is no output schema, but nothing is said about error behavior for unknown slugs or mismatched board/phase IDs.

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?

One front-loaded clause covering action and return, followed by a short qualifier. Nothing is wasted, though the trailing 'Read-only' duplicates an annotation and could have carried more useful information instead.

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

Completeness3/5

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

For a three-required-parameter tool with a nested free-form object and no output schema, the description covers the result shape but leaves the evaluation semantics vague — it does not say what a 'condition' is, how overrides are computed, or what the caller should do with the returned slugs.

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

Parameters2/5

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

Schema description coverage is only 33% — just the nested 'values' object is documented — and the description adds no meaning for boardId or phaseId beyond their regex patterns. With low coverage the description needed to compensate by explaining the slug-keyed value shape or the board/phase relationship, and it does not.

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?

The description states a specific verb and resource ('Evaluate a phase's conditions against a set of field values') and names the output shape, which is enough to distinguish it from the sibling crm_list_field_conditions at a glance. It stops short of explicitly contrasting with that sibling, so it is clear but not fully differentiated.

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 when-to-use, when-not-to-use, or alternative-tool guidance. An agent must infer from the name and the return payload that this is a client-side condition check rather than a listing call, and nothing states prerequisites such as needing a valid board/phase pairing.

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.