Skip to main content
Glama

Resolve an existing subject

resolve_subject
Read-onlyIdempotent

Look up a reviewed or unreviewed subject before declaring a new one. Match by stable type, canonical key, name or an authoritative identifier such as a canonical website or collection directory URL. Use this before adding a collection subject so the existing subject_id and canonical_key can be reused instead of creating a duplicate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
limitNo
subject_typeNo
canonical_keyNo
identifier_keyNo
identifier_valueNo

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, which covers the read-only safety profile. The description adds that reviewed and unreviewed subjects are both included and emphasizes reuse over duplicate creation, but it stays close to the annotation-provided read-only semantics and doesn't address other consequences like empty results.

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?

The description is concise and front-loaded with the most important use case. Every sentence contributes, though 'before declaring a new one' and 'instead of creating a duplicate' repeat the same core idea, which prevents a perfect conciseness score.

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?

This is a straightforward look-up tool and the description explains its purpose and when to call it, which is good. However, there is no output schema, and the description does not mention what happens when no match is found or which identifier returns enough results. It is adequate, but there are clear gaps.

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?

With 0% schema description coverage, the description carries heavy weight here. It usefully maps many parameters (stable type, canonical key, name, authoritative identifier value), but it leaves identifier_key and limit undocumented and does not clarify which combination of parameters should be supplied. Partial compensation for the schema gap, not complete.

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 the tool resolves/looks up an existing subject instead of creating a new one, which is a concrete verb and resource. It also distinguishes this tool from declaring/creating a subject, so an agent immediately knows its role.

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 explicitly tells the agent when to use this tool: before adding a collection subject, so an existing subject_id and canonical_key can be reused instead of creating a duplicate. It lacks explicit when-not-to-use instructions or named alternatives, but the intended use case is clear.

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
Disambiguation3/5

Most tools are separated by resource and action, but the classification cluster (affirm_subject_classification, propose_subject_reclassification, reopen_subject_classification, get_subject_classification) and the three resolve_subject* tools require close reading to distinguish. Long descriptions help, but an agent could easily pick the wrong member of those clusters.

Naming Consistency4/5

The dominant pattern is verb_noun in snake_case (create_deliberation, list_reviews_by_visibility, resolve_subject_type, set_review_visibility). Minor deviations such as bare 'fetch' and 'search' and mixed verbs like affirm vs propose vs reopen are readable and do not break the convention.

Tool Count2/5

34 tools substantially exceeds the 25+ threshold even for a server with multiple subdomains. The many classification, type, and location variants add cognitive load, and several could be consolidated or hidden behind a smaller workflow-oriented surface.

Completeness4/5

The set covers the main lifecycles: review save/fetch/assess/delete/visibility, subject resolution/enrichment/correction, classification with voting/reopening, deliberations, locations, and vocabulary management. Minor gaps remain, such as no direct full-subject getter and no update to review text, but these appear intentional in an immutable-review design.