Skip to main content
Glama

Record the author and license of material files

declare_material_credit
DestructiveIdempotent

Records the AUTHOR and the LICENSE of files that are already in the creator's material library and are someone else's work (an agency photo, a public-domain government clip, a CC BY image): the credits of the piece name them. When the person states them — e.g. «FEMA photos — Jocelyn Augustino/FEMA, public domain» — the declaration covers every file that phrase names. One call, several files (items). In each item a field that is not sent is kept; an empty string clears it. Only the creator's own files. The answer carries each file's authorship as recorded, or why it was not recorded. Requires write. $0.

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": {
      "items": "<items>"
    },
    "name": "declare_material_credit"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing merge semantics ('a field that is not sent is kept; an empty string clears it'), the permission requirement ('Requires write'), the cost ('$0'), and the response ('each file's authorship as recorded, or why it was not recorded'). This makes the destructiveHint=true and idempotentHint=true flags concrete rather than abstract.

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?

Opening clause leads with the verb and resource, followed by examples, batching, update semantics, scoping constraint, and response. Dense but every sentence carries information; the parenthetical example list and the «FEMA photos» illustration are both load-bearing. Minor stacking of constraints reduces flow but not clarity.

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?

For a single-parameter tool with no output schema, the description covers what is written, merge/clear behavior, permission prerequisites, cost, and the shape of the result. An agent has everything needed to call it correctly and interpret the reply without opening anything else.

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

Parameters4/5

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

Top-level `items` has no schema description, so the description compensates by explaining batching ('One call, several files') and per-field update semantics. The nested credit/license/source_url/asset_id properties carry their own schema descriptions, but the 20-item cap and the exact meaning of asset_id are not reinforced in prose.

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?

States a specific verb and resource: records the AUTHOR and LICENSE of files in the material library, with the qualification that the work must be someone else's. Concrete examples (agency photo, public-domain government clip, CC BY image) make the target objects unmistakable and separate this from assign_material or list_material.

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?

Clear usage context: invoke when the person states credits such as a FEMA photo line, and the phrase covers every file it names. Two hard exclusions are given ('Only the creator's own files', 'Only for material that is someone else's work'). It does not name a sibling alternative for correcting or removing existing credits, so it stops short of full when/when-not routing.

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.

Resources