Skip to main content
Glama

Bind text block

bind-text-block
DestructiveIdempotent

Bind a platform Document (markdown) — or one of its sections — to a disclosure element as a text-block fact.

WHEN TO USE:

  • To attach an accounting-policy or footnote narrative (stored as a document via create-document) to a disclosure structure so it renders in reports

  • After authoring a text-block disclosure structure via create-taxonomy-block (block_type='regulatory_disclosure', concept_arrangement='text_block')

NOTES:

  • The document stays the editable source of truth; the bind snapshots its text into a standing 'disclosure' FactSet with document provenance (document_id + section + content_hash)

  • Reports generated afterward snapshot the standing set, so filed reports stay immutable even if the document is later edited

  • Re-binding the same element + period replaces the fact and refreshes the content hash (the drift signal)

  • Use section_id (the slugified heading ids search-documents returns) to bind one section of a larger document; omit it to bind the whole document

  • The element must be a concrete (non-abstract) concept on the disclosure structure; provide element_qname or element_id

  • period_start/period_end should span the reporting period the narrative covers

RETURNS: The bound fact's id, the element it was bound to, and the content hash used as the drift signal.

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": {
      "document_id": "<document_id>",
      "structure_id": "<structure_id>",
      "period_start": "<period_start>",
      "period_end": "<period_end>"
    },
    "name": "bind-text-block"
  }
}

Input Schema

NameRequiredDescriptionDefault
entity_idNoOptional entity id; omit for the group parent
element_idNoDisclosure element id (provide exactly one of element_id / element_qname)
period_endYesReporting period end (YYYY-MM-DD)
section_idNoOptional slugified heading id of one section to bind; omit for the whole document
document_idYesPlatform document ID (see list-documents)
period_startYesReporting period start (YYYY-MM-DD)
structure_idYesDisclosure structure (block_type='regulatory_disclosure', text-block concept_arrangement)
element_qnameNoDisclosure element qname, e.g. 'acme:SignificantAccountingPoliciesTextBlock'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true and idempotentHint=true without explaining them; the description supplies the mechanism — the bind snapshots document text into a standing 'disclosure' FactSet with document_id/section/content_hash provenance, later reports snapshot that set so filed reports stay immutable, and re-binding replaces the fact and refreshes the hash (the drift signal). That directly explains what the destructive hint means in practice, which the annotations alone could not.

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?

Front-loaded with the one-sentence purpose, then clearly partitioned WHEN TO USE / NOTES / RETURNS blocks. Each note bullet carries distinct operational information (provenance, immutability, re-bind drift, section scoping, element constraint, period semantics) rather than restating the schema.

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 an 8-parameter mutation with no output schema, the definition covers the pieces an agent needs: what gets created and with what provenance, what a re-bind does, which element types are legal, how to scope to a section or whole document, and an explicit RETURNS line naming the fact id, element, and content hash.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: section_id is identified as the slugified heading id returned by search-documents, element_qname/element_id are constrained to concrete (non-abstract) concepts with exactly one required, and period_start/period_end are framed as the narrative's coverage period. It does not restate document_id, structure_id, or entity_id scoping in any depth.

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 (bind) and specific resources (a platform markdown Document or one of its sections) mapped to a specific target (a disclosure element as a text-block fact). It also names the lifecycle relationship to create-document and create-taxonomy-block, so an agent can tell this apart from the create-* siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The WHEN TO USE block gives two concrete triggers (attaching policy/footnote narrative; after authoring a text_block regulatory_disclosure structure), and the NOTES add exclusions and sequencing: use section_id to bind one section, omit for the whole document, element must be non-abstract, and re-binding the same element+period is a replacement path rather than a new bind.

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.