Skip to main content
Glama

Locus Determine From Scores

locus_determine_from_scores
Read-onlyIdempotent

Compute a LOCUS Level of Care from dimension ratings you already have. Deterministic — no LLM, instant: composite + Determination Grid + the inviolable override floors (e.g. Risk-of-Harm=4 → minimum Level 5), applied in code. Provide EITHER the seven flat D* ratings (1-5 each; Dimension IV splits into IV-A Stress / IV-B Support) OR a per-reviewer agent_scores map. Sending both is refused (422) rather than scored: agent_scores would win and your flat ratings would be discarded, override floors included. Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
D4A_StressNoRecovery Environment — Stress (1-5).
D4B_SupportNoRecovery Environment — Support (1-5).
agent_scoresNoPer-reviewer scores keyed by reviewer name, aggregated by median. Shape: {"<reviewer>": {"D1_RiskOfHarm": 4, ...}}. Mutually exclusive with the flat D* fields — sending both is refused (422), not merged. An empty map {} counts as not supplied.
D1_RiskOfHarmNoRisk of Harm (1-5).
D6_EngagementNoEngagement & Recovery Status (1-5).
D3_CoMorbidityNoMedical/Addictive/Psychiatric Co-Morbidity (1-5). Capital M in CoMorbidity.
D2_FunctionalStatusNoFunctional Status (1-5).
D5_TreatmentHistoryNoTreatment & Recovery History (1-5).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already indicate readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds rich behavioral context: deterministic (no LLM), instant, the use of composite + Determination Grid + inviolable override floors (e.g., Risk-of-Harm=4 → Level 5), the 422 refusal behavior when both input modes are sent, and authentication requirements. This goes well beyond the annotations.

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?

The description is front-loaded with the core purpose, followed by the deterministic nature and algorithm specifics. Every sentence adds value: the input modes, the rejection behavior, and authentication. It is compact yet information-dense, with no filler or repetition.

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?

This is a complex tool with 8 parameters, nested objects, and multiple input modes. The description covers the algorithm, override floors, input alternatives, failure behavior, and authentication. An output schema exists, so return-value documentation is not needed in the description. The agent has enough information to select and invoke the tool correctly.

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 each parameter is already documented. The description groups the parameters into two mutually exclusive modes (flat D* ratings vs. agent_scores map) and explains that Dimension IV splits into IV-A/IV-B, but the schema already contains this mutual exclusivity in the agent_scores field. No additional per-parameter meaning is added beyond the schema.

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?

The description clearly states it computes a LOCUS Level of Care from already-available dimension ratings, using a deterministic code-based algorithm. This distinguishes it from the sibling score_locus_case by explicitly noting 'Deterministic — no LLM'.

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?

The description gives clear context for when to use: when you have existing flat ratings or an agent_scores map and need a deterministic, instant result. It also specifies a when-not: sending both inputs is refused (422) rather than scored. However, it does not explicitly name an alternative tool to use instead, only implying the contrast with LLM-based scoring.

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.

TDQS

A3.6/5.0
Disambiguation5/5

Every tool targets a distinct resource and action, with detailed descriptions that clearly separate overlapping domains (e.g., consulting vs. marketing vs. outreach). Even within the same domain, tools like 'create_consulting_deliverable' and 'create_consulting_document_revision' are unambiguous due to their specific nouns.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern (e.g., 'create_invoice', 'get_deal', 'list_agents'). The few exceptions like 'locus_determine_from_scores' still adhere to the verb_noun structure and do not break the pattern.

Tool Count1/5

With 124 tools, the server is massively over-scoped for typical MCP use. The tool count far exceeds the '50+ extreme mismatch' threshold, making it nearly impossible for an agent to efficiently navigate or select the right tool without extensive context. Even a large platform should consolidate or expose fewer tools.

Completeness5/5

The tool surface covers CRUD and lifecycle operations across at least 10 domains (sales, consulting, marketing, outreach, accounting, workflows, ticketing, API keys, feedback, platform metrics). Each domain appears to have no obvious gaps—e.g., invoicing includes create, update, send, mark paid, void; ticketing includes create, update, archive, dependencies, batch, scenarios, validation.

Resources