Skip to main content
Glama

ipt_set_keywords_methods

Replace keyword sets and methods (study extent, sampling, quality control, steps) for an IPT resource using its shortname.

Instructions

[writes to the IPT] Replace keyword sets and/or methods (study extent, sampling, quality control, steps).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodsNo
keywordsNo
shortnameYesResource shortname

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description bears full responsibility for behavioral disclosure. It indicates 'Replace' (a destructive overwrite), which is useful, but doesn't mention what happens to unspecified method fields or keywords (e.g., are they left unchanged or cleared?). No mention of authentication, side effects, or that the operation writes to the IPT beyond the parenthetical '[writes to the IPT]'. The 'Replace' term hints at overwriting but doesn't clarify merge semantics.

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?

Single sentence, front-loaded with the action and scope. The bracket prefix '[writes to the IPT]' is concise and sets context immediately. No fluff or repetition. It efficiently conveys the core purpose.

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

Completeness2/5

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

For a tool with nested objects and three parameters, the description is too thin. It doesn't clarify whether both 'keywords' and 'methods' must be provided together, how optional fields behave (e.g., if only 'steps' is provided, are 'studyExtent' etc. cleared?), or what the response indicates about success. No output schema means the description should compensate, but it doesn't cover edge cases or provide enough operational detail.

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 coverage is low (33% – only shortname has a description). The description helps by listing the components of the 'methods' object (study extent, sampling, quality control, steps) and by indicating that keywords are 'keyword sets', implying thesaurus grouping. However, it doesn't explain the exact structure of the keywords array (array of objects with keywords and thesaurus) or the relationship between methods and keywords. It adds value but doesn't fully compensate for the schema gap.

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?

Description clearly states the action ('Replace') and the resource ('IPT'), and specifies the scope: keyword sets and/or methods with method sub-fields listed (study extent, sampling, quality control, steps). This distinguishes it from sibling set_* tools that target other metadata aspects. However, it does not explicitly name the input parameter 'shortname' or contrast with similar tools, so slight ambiguity remains.

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?

No guidance on when to use this tool versus alternatives like ipt_set_metadata_fields or ipt_replace_eml. The description only states what it does, not when it is appropriate or when to prefer another tool. Lack of context on use cases or prerequisites (e.g., must have a resource) makes it hard for an agent to decide.

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